summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/anonymous-struct-union.c
diff options
context:
space:
mode:
authorCarl Norum <carl.norum@apple.com>2011-03-07 22:57:45 +0000
committerCarl Norum <carl.norum@apple.com>2011-03-07 22:57:45 +0000
commit58d489fc6eea2ff51915e6a7589774ecd630b1a6 (patch)
tree5009dee379067e87b252db24a4fc5ff390435eee /clang/test/Sema/anonymous-struct-union.c
parentac546dc62e32e3b803f9905fab6025c926db7a74 (diff)
downloadbcm5719-llvm-58d489fc6eea2ff51915e6a7589774ecd630b1a6.tar.gz
bcm5719-llvm-58d489fc6eea2ff51915e6a7589774ecd630b1a6.zip
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
llvm-svn: 127188
Diffstat (limited to 'clang/test/Sema/anonymous-struct-union.c')
-rw-r--r--clang/test/Sema/anonymous-struct-union.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/anonymous-struct-union.c b/clang/test/Sema/anonymous-struct-union.c
index d9e08397f2d..d88abc3c3b9 100644
--- a/clang/test/Sema/anonymous-struct-union.c
+++ b/clang/test/Sema/anonymous-struct-union.c
@@ -94,7 +94,7 @@ struct {}; // expected-warning{{declaration does not declare anything}}
struct s2 {
union {
int a;
- }
+ } // expected-warning{{expected ';' at end of declaration list}}
}; // expected-error{{expected member name or ';' after declaration specifiers}}
// Make sure we don't a.k.a. anonymous structs.
OpenPOWER on IntegriCloud