summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/callingconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/callingconv.c')
-rw-r--r--clang/test/Sema/callingconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/callingconv.c b/clang/test/Sema/callingconv.c
index 68908152ff6..5ac5a4ad044 100644
--- a/clang/test/Sema/callingconv.c
+++ b/clang/test/Sema/callingconv.c
@@ -10,7 +10,7 @@ void __attribute__((stdcall)) bar(float *a) {
void __attribute__((fastcall(1))) baz(float *a) { // expected-error {{'fastcall' attribute takes no arguments}}
}
-void __attribute__((fastcall)) test0() { // expected-error {{function with no prototype cannot use the callee-cleanup fastcall calling convention}}
+void __attribute__((fastcall)) test0() { // expected-error {{function with no prototype cannot use the fastcall calling convention}}
}
void __attribute__((fastcall)) test1(void) {
OpenPOWER on IntegriCloud