summaryrefslogtreecommitdiff
path: root/test/SemaCXX/implicit-member-functions.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-04-16 16:02:28 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-04-16 16:02:28 +0000
commit7442d6faa2719e4e7d33a7021c406c5a4facd74d (patch)
treec72b9241553fc9966179aba84f90f17bfa9235c3 /test/SemaCXX/implicit-member-functions.cpp
parentb52119637f743680a99710ce5fdb6646da2772af (diff)
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 de679fe14a065..1554b1af5d59a 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;
};