summaryrefslogtreecommitdiffstats
path: root/test/CXX/special/class.free/p6.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/special/class.free/p6.cpp')
-rw-r--r--test/CXX/special/class.free/p6.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/special/class.free/p6.cpp b/test/CXX/special/class.free/p6.cpp
index 555d4e9..fc4b2ae 100644
--- a/test/CXX/special/class.free/p6.cpp
+++ b/test/CXX/special/class.free/p6.cpp
@@ -3,9 +3,9 @@
struct A {
void operator delete(void*) {
- (void)this; // expected-error {{invalid use of 'this' outside of a nonstatic member function}}
+ (void)this; // expected-error {{invalid use of 'this' outside of a non-static member function}}
}
void operator delete[](void*) {
- (void)this; // expected-error {{invalid use of 'this' outside of a nonstatic member function}}
+ (void)this; // expected-error {{invalid use of 'this' outside of a non-static member function}}
}
};
OpenPOWER on IntegriCloud