From ecb7e5c8afe929ee38155db94de6b084ec32a645 Mon Sep 17 00:00:00 2001 From: Roman Divacky Date: Tue, 16 Feb 2010 09:31:36 +0000 Subject: Update clang to r96341. --- test/Parser/cxx-decl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Parser/cxx-decl.cpp') diff --git a/test/Parser/cxx-decl.cpp b/test/Parser/cxx-decl.cpp index 3c88b7adfa84..f37604cc5443 100644 --- a/test/Parser/cxx-decl.cpp +++ b/test/Parser/cxx-decl.cpp @@ -52,3 +52,9 @@ void test(struct Type *P) { (y:b) // expected-error {{unexpected ':' in nested name specifier}} 4) : 5; } + +struct test4 { + int x // expected-error {{expected ';' at end of declaration list}} + int y; + int z // expected-error {{expected ';' at end of declaration list}} +}; -- cgit v1.3