diff options
Diffstat (limited to 'test/Sema/callingconv.c')
-rw-r--r-- | test/Sema/callingconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/callingconv.c b/test/Sema/callingconv.c index f9fa9fe..6a8be5a 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) { |