summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/illegal-member-initialization.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/illegal-member-initialization.cpp')
-rw-r--r--test/SemaCXX/illegal-member-initialization.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaCXX/illegal-member-initialization.cpp b/test/SemaCXX/illegal-member-initialization.cpp
index 3fb0b93..87069ef 100644
--- a/test/SemaCXX/illegal-member-initialization.cpp
+++ b/test/SemaCXX/illegal-member-initialization.cpp
@@ -14,9 +14,9 @@ struct X {
// expected-error {{constructor for 'X' must explicitly initialize the const member 'cvalue'}} \
// expected-error {{constructor for 'X' must explicitly initialize the reference member 'b'}} \
// expected-error {{constructor for 'X' must explicitly initialize the const member 'cb'}}
- int &value; // expected-note{{declared at}}
- const int cvalue; // expected-note{{declared at}}
- B& b; // expected-note{{declared at}}
+ int &value; // expected-note{{declared here}}
+ const int cvalue; // expected-note{{declared here}}
+ B& b; // expected-note{{declared here}}
const B cb; // expected-note{{declared here}}
};
OpenPOWER on IntegriCloud