summaryrefslogtreecommitdiffstats
path: root/clang/test/CXX/class.derived/p1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/CXX/class.derived/p1.cpp')
-rw-r--r--clang/test/CXX/class.derived/p1.cpp4
1 files changed, 2 insertions, 2 deletions
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<Foo> 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}}
}
OpenPOWER on IntegriCloud