aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/callingconv.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Sema/callingconv.c')
-rw-r--r--test/Sema/callingconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/callingconv.c b/test/Sema/callingconv.c
index f9fa9fef2b36..6a8be5ae050f 100644
--- a/test/Sema/callingconv.c
+++ b/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 fastcall calling convention}}
+void __attribute__((fastcall)) test0() {
}
void __attribute__((fastcall)) test1(void) {