diff options
Diffstat (limited to 'clang/test')
-rw-r--r-- | clang/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp | 2 | ||||
-rw-r--r-- | clang/test/SemaCXX/default-constructor-initializers.cpp | 6 | ||||
-rw-r--r-- | clang/test/SemaCXX/value-initialization.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/clang/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp b/clang/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp index 0b83a1fee0f..ad0d5062136 100644 --- a/clang/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp +++ b/clang/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp @@ -26,7 +26,7 @@ IntHolder &test_X_IntHolderInt(X<IntHolder, int> xih) { xih.g(); // okay xih.f(); // expected-note{{instantiation}} - X<IntHolder, int>::Inner inner; + X<IntHolder, int>::Inner inner; // expected-note {{first required here}} return X<IntHolder, int>::value; // expected-note{{instantiation}} } diff --git a/clang/test/SemaCXX/default-constructor-initializers.cpp b/clang/test/SemaCXX/default-constructor-initializers.cpp index 48c90398635..6adcdca3e17 100644 --- a/clang/test/SemaCXX/default-constructor-initializers.cpp +++ b/clang/test/SemaCXX/default-constructor-initializers.cpp @@ -11,7 +11,7 @@ struct X2 : X1 { // expected-note {{'struct X2' declared here}} \ struct X3 : public X2 { // expected-error {{must explicitly initialize the base class 'struct X2'}} }; -X3 x3; +X3 x3; // expected-note {{first required here}} struct X4 { // expected-error {{must explicitly initialize the member 'x2'}} \ @@ -20,7 +20,7 @@ struct X4 { // expected-error {{must explicitly initialize the member 'x2'}} \ X2 & rx2; // expected-note {{declared at}} }; -X4 x4; +X4 x4; // expected-note {{first required here}} struct Y1 { // has no implicit default constructor @@ -52,5 +52,5 @@ struct Z1 { // expected-error {{must explicitly initialize the reference member volatile int v1; }; -Z1 z1; +Z1 z1; // expected-note {{first required here}} diff --git a/clang/test/SemaCXX/value-initialization.cpp b/clang/test/SemaCXX/value-initialization.cpp index 3452883697a..25d708494b1 100644 --- a/clang/test/SemaCXX/value-initialization.cpp +++ b/clang/test/SemaCXX/value-initialization.cpp @@ -6,5 +6,5 @@ struct A { // expected-error {{implicit default constructor for 'struct A' must }; int main () { - (void)A(); + (void)A(); // expected-note {{first required here}} } |