summaryrefslogtreecommitdiffstats
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 00dc662..54d41b8 100644
--- a/test/SemaCXX/qual-id-test.cpp
+++ b/test/SemaCXX/qual-id-test.cpp
@@ -48,7 +48,7 @@ namespace C
a.A::sub::x();
a.A::B::base::x();
- a.bad::x(); // expected-error{{type 'struct bad' is not a direct or virtual base of ''A::sub''}}
+ a.bad::x(); // expected-error{{type 'bad' is not a direct or virtual base of ''A::sub''}}
a->foo();
a->member::foo();
@@ -69,7 +69,7 @@ namespace C
a->A::sub::x();
a->A::B::base::x();
- a->bad::x(); // expected-error{{type 'struct bad' is not a direct or virtual base of ''A::sub''}}
+ a->bad::x(); // expected-error{{type 'bad' is not a direct or virtual base of ''A::sub''}}
(*a)->foo();
(*a)->member::foo();
OpenPOWER on IntegriCloud