[cfe-commits] r61438 - /cfe/trunk/test/Sema/stdcall-fastcall.c

Anton Korobeynikov asl at math.spbu.ru
Thu Dec 25 16:52:18 PST 2008

Author: asl
Date: Thu Dec 25 18:52:17 2008
New Revision: 61438

URL: http://llvm.org/viewvc/llvm-project?rev=61438&view=rev
Complete the test after adding handling of merged attributes on decls.


Modified: cfe/trunk/test/Sema/stdcall-fastcall.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/stdcall-fastcall.c?rev=61438&r1=61437&r2=61438&view=diff

--- cfe/trunk/test/Sema/stdcall-fastcall.c (original)
+++ cfe/trunk/test/Sema/stdcall-fastcall.c Thu Dec 25 18:52:17 2008
@@ -6,7 +6,5 @@
 // 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}}

More information about the cfe-commits mailing list