summaryrefslogtreecommitdiff
path: root/test/SemaCXX/deleted-function.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/deleted-function.cpp')
-rw-r--r--test/SemaCXX/deleted-function.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/deleted-function.cpp b/test/SemaCXX/deleted-function.cpp
index d9df1bf5b05a..b3e129600421 100644
--- a/test/SemaCXX/deleted-function.cpp
+++ b/test/SemaCXX/deleted-function.cpp
@@ -29,7 +29,7 @@ void test() {
ov(1);
ov(1.0); // expected-error {{call to deleted function 'ov'}}
- WithDel dd; // expected-error {{call to deleted constructor of 'struct WithDel'}}
+ WithDel dd; // expected-error {{call to deleted constructor of 'WithDel'}}
WithDel *d = 0;
d->fn(); // expected-error {{attempt to use a deleted function}}
int i = *d; // expected-error {{invokes a deleted function}}