summaryrefslogtreecommitdiff
path: root/test/SemaCXX/qual-id-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/qual-id-test.cpp')
-rw-r--r--test/SemaCXX/qual-id-test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaCXX/qual-id-test.cpp b/test/SemaCXX/qual-id-test.cpp
index e5c7306775611..9994d75cac19d 100644
--- a/test/SemaCXX/qual-id-test.cpp
+++ b/test/SemaCXX/qual-id-test.cpp
@@ -137,13 +137,13 @@ struct a {
a a;
-int a::sa = a.a; // expected-error {{invalid use of nonstatic data member 'a'}}
+int a::sa = a.a; // expected-error {{invalid use of non-static data member 'a'}}
namespace PR6645 {
typedef int foo;
namespace Inner {
typedef int PR6645::foo; // expected-error{{typedef declarator cannot be qualified}} \
- // expected-error{{definition or redeclaration of 'foo' not in a namespace enclosing 'PR6645'}}
+ // expected-error{{cannot define or redeclare 'foo' here because namespace 'Inner' does not enclose namespace 'PR6645'}}
}
}