From 58d489fc6eea2ff51915e6a7589774ecd630b1a6 Mon Sep 17 00:00:00 2001 From: Carl Norum Date: Mon, 7 Mar 2011 22:57:45 +0000 Subject: Fix tests to account for new warning "expected ';' at end of declaration list". Sorry, folks! llvm-svn: 127188 --- clang/test/Sema/anonymous-struct-union.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/Sema/anonymous-struct-union.c') 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. -- cgit v1.2.3