diff options
Diffstat (limited to 'test/SemaCXX/explicit.cpp')
-rw-r--r-- | test/SemaCXX/explicit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/explicit.cpp b/test/SemaCXX/explicit.cpp index aa28bd8..155141c 100644 --- a/test/SemaCXX/explicit.cpp +++ b/test/SemaCXX/explicit.cpp @@ -86,7 +86,7 @@ namespace Conversion { // Y is an aggregate, so aggregate-initialization is performed and the // conversion function is not considered. const Y y10{z}; // expected-error {{excess elements}} - const Y& y11{z}; // expected-error {{no viable conversion from 'Z' to 'const Y'}} + const Y& y11{z}; // expected-error {{excess elements}} expected-note {{in initialization of temporary of type 'const Y'}} const int& y12{z}; // X is not an aggregate, so constructors are considered. |