From: Anton Korobeynikov Date: Fri, 26 Dec 2008 00:52:17 +0000 (+0000) Subject: Complete the test after adding handling of merged attributes on decls. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fceeec91fa4bba9f4240e7e43eec3066b434cc6b;p=clang Complete the test after adding handling of merged attributes on decls. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61438 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/stdcall-fastcall.c b/test/Sema/stdcall-fastcall.c index 3a222dd4bc..4e938f575f 100644 --- a/test/Sema/stdcall-fastcall.c +++ b/test/Sema/stdcall-fastcall.c @@ -6,7 +6,5 @@ int __attribute__((fastcall)) var2; // expected-warning{{'fastcall' attribute on // Different CC qualifiers are not compatible void __attribute__((stdcall, fastcall)) foo3(); // expected-error{{stdcall and fastcall attributes are not compatible}} - -// FIXME: Something went wrong recently and diagnostics is not generated anymore void __attribute__((stdcall)) foo4(); -void __attribute__((fastcall)) foo4(); +void __attribute__((fastcall)) foo4(); // expected-error{{fastcall and stdcall attributes are not compatible}}