]> granicus.if.org Git - clang/commitdiff
Complete the test after adding handling of merged attributes on decls.
authorAnton Korobeynikov <asl@math.spbu.ru>
Fri, 26 Dec 2008 00:52:17 +0000 (00:52 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Fri, 26 Dec 2008 00:52:17 +0000 (00:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61438 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/stdcall-fastcall.c

index 3a222dd4bc250ae8027e280dd9fbfc4c67bd3574..4e938f575fb90aeb64b1b1839d6fc8d78d53f621 100644 (file)
@@ -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}}