aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/implicit-member-functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/implicit-member-functions.cpp')
-rw-r--r--test/SemaCXX/implicit-member-functions.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/SemaCXX/implicit-member-functions.cpp b/test/SemaCXX/implicit-member-functions.cpp
index de679fe14a06..1554b1af5d59 100644
--- a/test/SemaCXX/implicit-member-functions.cpp
+++ b/test/SemaCXX/implicit-member-functions.cpp
@@ -66,7 +66,8 @@ namespace Recursion {
A(const T &);
// expected-note@-1 {{in instantiation of default argument}}
};
- struct B { // expected-note {{candidate constructor (the implicit move }}
+ struct B { // expected-note {{while declaring the implicit copy constructor for 'B'}}
+ // expected-note@-1 {{candidate constructor (the implicit move }}
B(); // expected-note {{candidate constructor not viable}}
A a;
};