diff options
Diffstat (limited to 'clang/test/SemaCXX/this.cpp')
-rw-r--r-- | clang/test/SemaCXX/this.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/this.cpp b/clang/test/SemaCXX/this.cpp index 13158b93a44..27ee1e84a70 100644 --- a/clang/test/SemaCXX/this.cpp +++ b/clang/test/SemaCXX/this.cpp @@ -1,6 +1,6 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s -int x = this; // expected-error {{invalid use of 'this' outside of a nonstatic member function}} +int x = this; // expected-error {{invalid use of 'this' outside of a non-static member function}} void f() { - int x = this; // expected-error {{invalid use of 'this' outside of a nonstatic member function}} + int x = this; // expected-error {{invalid use of 'this' outside of a non-static member function}} } |