summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/PR9572.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/PR9572.cpp')
-rw-r--r--test/SemaCXX/PR9572.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/PR9572.cpp b/test/SemaCXX/PR9572.cpp
index b0bbfa6..b475b57 100644
--- a/test/SemaCXX/PR9572.cpp
+++ b/test/SemaCXX/PR9572.cpp
@@ -3,7 +3,7 @@ class Base {
virtual ~Base(); // expected-note {{implicitly declared private here}}
};
struct Foo : public Base { // expected-error {{base class 'Base' has private destructor}}
- const int kBlah = 3; // expected-warning {{accepted as a C++11 extension}}
+ const int kBlah = 3; // expected-warning {{is a C++11 extension}}
Foo();
};
struct Bar : public Foo {
OpenPOWER on IntegriCloud