aboutsummaryrefslogtreecommitdiff
path: root/test/CXX/temp/p3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/temp/p3.cpp')
-rw-r--r--test/CXX/temp/p3.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/CXX/temp/p3.cpp b/test/CXX/temp/p3.cpp
index 11f72de918cb..e9fd8a3090e8 100644
--- a/test/CXX/temp/p3.cpp
+++ b/test/CXX/temp/p3.cpp
@@ -8,7 +8,8 @@ template<typename T> int S<T>::a, S<T>::b; // expected-error {{can only declare
template<typename T> struct A { static A a; } A<T>::a; // expected-error {{expected ';' after struct}} \
expected-error {{use of undeclared identifier 'T'}} \
- expected-error{{extra qualification}}
+ expected-error {{no member named 'a'}} \
+ expected-warning {{extra qualification}}
template<typename T> struct B { } f(); // expected-error {{expected ';' after struct}} \
expected-error {{requires a type specifier}}