aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/cxx-default-delete.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx-default-delete.cpp')
-rw-r--r--test/Parser/cxx-default-delete.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-default-delete.cpp b/test/Parser/cxx-default-delete.cpp
index df24b3d0075a..8766d861732e 100644
--- a/test/Parser/cxx-default-delete.cpp
+++ b/test/Parser/cxx-default-delete.cpp
@@ -19,5 +19,5 @@ struct foo {
void baz() = delete;
struct quux {
- int quux() = default; // expected-error{{constructor cannot have a return type}} expected-error {{member 'quux' has the same name as its class}}
+ int quux() = default; // expected-error{{constructor cannot have a return type}}
};