summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/PR9460.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/PR9460.cpp')
-rw-r--r--test/SemaCXX/PR9460.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/SemaCXX/PR9460.cpp b/test/SemaCXX/PR9460.cpp
index 2cc435e..0dd8446 100644
--- a/test/SemaCXX/PR9460.cpp
+++ b/test/SemaCXX/PR9460.cpp
@@ -8,11 +8,11 @@ struct basic_string{
basic_string(aT*);
};
-struct runtime_error{ // expected-note {{candidate constructor}}
- runtime_error( // expected-note {{candidate constructor}}
+struct runtime_error{
+ runtime_error(
basic_string<char> struct{ // expected-error {{cannot combine with previous 'type-name' declaration specifier}}
a(){ // expected-error {{requires a type specifier}}
- runtime_error(0); // expected-error {{no matching conversion}}
+ runtime_error(0);
}
}
);
OpenPOWER on IntegriCloud