aboutsummaryrefslogtreecommitdiff
path: root/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
commite224ba7e3e604113aa160c379293bcb6425e8f36 (patch)
tree7c84aa82923325d68202cfde7e8ea6f32c7ce4be /test/Sema/anonymous-struct-union.c
parent0507be662df482b5c67b7905ed7ca368cb5c6b69 (diff)
Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127188 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Sema/anonymous-struct-union.c')
-rw-r--r--test/Sema/anonymous-struct-union.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Sema/anonymous-struct-union.c b/test/Sema/anonymous-struct-union.c
index d9e08397f2..d88abc3c3b 100644
--- a/test/Sema/anonymous-struct-union.c
+++ b/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.