summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/functional-cast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/functional-cast.cpp')
-rw-r--r--test/SemaCXX/functional-cast.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/SemaCXX/functional-cast.cpp b/test/SemaCXX/functional-cast.cpp
index 63be770..0bef0cd 100644
--- a/test/SemaCXX/functional-cast.cpp
+++ b/test/SemaCXX/functional-cast.cpp
@@ -10,10 +10,8 @@ struct InitViaConstructor {
InitViaConstructor(int i = 7);
};
-// FIXME: error messages for implicitly-declared special member
-// function candidates are very poor
-struct NoValueInit { // expected-note 2 {{candidate function}}
- NoValueInit(int i, int j); // expected-note 2 {{candidate function}}
+struct NoValueInit { // expected-note 2 {{candidate constructor (the implicit copy constructor)}}
+ NoValueInit(int i, int j); // expected-note 2 {{candidate constructor}}
};
void test_cxx_functional_value_init() {
OpenPOWER on IntegriCloud