summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/this.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaCXX/this.cpp')
-rw-r--r--clang/test/SemaCXX/this.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/this.cpp b/clang/test/SemaCXX/this.cpp
index b8bf4b7d3aa..0577d3c2b9b 100644
--- a/clang/test/SemaCXX/this.cpp
+++ b/clang/test/SemaCXX/this.cpp
@@ -1,4 +1,4 @@
-// RUN: clang -fsyntax-only -verify %s
+// RUN: clang-cc -fsyntax-only -verify %s
int x = this; // expected-error {{error: invalid use of 'this' outside of a nonstatic member function}}
void f() {
OpenPOWER on IntegriCloud