summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/anonymous-struct-union.c
diff options
context:
space:
mode:
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