summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp')
-rw-r--r--compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp b/compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp
index b363fea3487..c5642507ad4 100644
--- a/compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp
+++ b/compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp
@@ -1,6 +1,6 @@
-// RUN: %clang -fsanitize=enum %s -O3 -o %t && %t 2>&1 | FileCheck %s --check-prefix=CHECK-PLAIN
-// RUN: %clang -fsanitize=enum -std=c++11 -DE="class E" %s -O3 -o %t && %t
-// RUN: %clang -fsanitize=enum -std=c++11 -DE="class E : bool" %s -O3 -o %t && %t 2>&1 | FileCheck %s --check-prefix=CHECK-BOOL
+// RUN: %clangxx -fsanitize=enum %s -O3 -o %t && %t 2>&1 | FileCheck %s --check-prefix=CHECK-PLAIN
+// RUN: %clangxx -fsanitize=enum -std=c++11 -DE="class E" %s -O3 -o %t && %t
+// RUN: %clangxx -fsanitize=enum -std=c++11 -DE="class E : bool" %s -O3 -o %t && %t 2>&1 | FileCheck %s --check-prefix=CHECK-BOOL
enum E { a = 1 } e;
#undef E
OpenPOWER on IntegriCloud