From afa155fb8879f77c40a73360b1215b65d7501aa9 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Tue, 25 Oct 2011 18:17:58 +0000 Subject: Fix erroneous name-specifiers prior to decltypes better/correctly as per Doug's feedback. llvm-svn: 142935 --- clang/test/CXX/class.derived/p1.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/CXX/class.derived') diff --git a/clang/test/CXX/class.derived/p1.cpp b/clang/test/CXX/class.derived/p1.cpp index dcbe63fd09a..d819ea23894 100644 --- a/clang/test/CXX/class.derived/p1.cpp +++ b/clang/test/CXX/class.derived/p1.cpp @@ -31,7 +31,7 @@ namespace PR11216 { struct Foo { Base foo(); }; Derived3 d; - struct Derived4 : :: decltype(Base()) { }; // expected-error {{expected class name}} + struct Derived4 : :: decltype(Base()) { }; // expected-error {{unexpected namespace scope prior to decltype}} - struct Derived5 : PR11216:: decltype(Base()) { }; // expected-error {{expected class name}} + struct Derived5 : PR11216:: decltype(Base()) { }; // expected-error {{unexpected namespace scope prior to decltype}} } -- cgit v1.2.3