diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-03-10 17:45:58 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-03-10 17:45:58 +0000 |
| commit | a16e9ac1f192503038f49e0c52edd7dcb2ce023a (patch) | |
| tree | 56c1dd85a159948815817b5a90bedb39cf9ad105 /test/SemaCXX/deleted-function.cpp | |
| parent | dd5132ce2569a1ef901c92772eb8581aa1705f25 (diff) | |
Notes
Diffstat (limited to 'test/SemaCXX/deleted-function.cpp')
| -rw-r--r-- | test/SemaCXX/deleted-function.cpp | 2 |
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}} |
