diff options
Diffstat (limited to 'clang/test/SemaCXX/PR9460.cpp')
-rw-r--r-- | clang/test/SemaCXX/PR9460.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/test/SemaCXX/PR9460.cpp b/clang/test/SemaCXX/PR9460.cpp index 0dd84467705..5b8b7b2cf68 100644 --- a/clang/test/SemaCXX/PR9460.cpp +++ b/clang/test/SemaCXX/PR9460.cpp @@ -8,11 +8,11 @@ struct basic_string{ basic_string(aT*); }; -struct runtime_error{ - runtime_error( +struct runtime_error{ // expected-note{{candidate constructor}} + runtime_error( // expected-note{{candidate constructor}} basic_string<char> struct{ // expected-error {{cannot combine with previous 'type-name' declaration specifier}} a(){ // expected-error {{requires a type specifier}} - runtime_error(0); + runtime_error(0); // expected-error{{no matching conversion for functional-style cast from 'int' to 'runtime_error'}} } } ); |