diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2008-12-26 00:52:17 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2008-12-26 00:52:17 +0000 |
| commit | b46e3a8d3baede8f061689d4ca3f53ed6613367b (patch) | |
| tree | 06386251e5136f3c3773351d97806e0fa203ac52 | |
| parent | d72f47aa058c10248c27ea70074a1bdd91468a1b (diff) | |
| download | bcm5719-llvm-b46e3a8d3baede8f061689d4ca3f53ed6613367b.tar.gz bcm5719-llvm-b46e3a8d3baede8f061689d4ca3f53ed6613367b.zip | |
Complete the test after adding handling of merged attributes on decls.
llvm-svn: 61438
| -rw-r--r-- | clang/test/Sema/stdcall-fastcall.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/clang/test/Sema/stdcall-fastcall.c b/clang/test/Sema/stdcall-fastcall.c index 3a222dd4bc2..4e938f575fb 100644 --- a/clang/test/Sema/stdcall-fastcall.c +++ b/clang/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}} |

