summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2013-10-20 21:29:32 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2013-10-20 21:29:32 +0000
commitb714e7e12a531b2b0a2462fb1f2ed83f1e71f1b3 (patch)
tree879138321d94f2ab90c4d92c989b2999f6089774 /compiler-rt/lib/ubsan/lit_tests/Misc/enum.cpp
parentb453cd64a79cc7cda87fadcde8aba5fd6ca9e43d (diff)
downloadbcm5719-llvm-b714e7e12a531b2b0a2462fb1f2ed83f1e71f1b3.tar.gz
bcm5719-llvm-b714e7e12a531b2b0a2462fb1f2ed83f1e71f1b3.zip
[ubsan] Introduce %clangxx substitution for all C++ tests.
llvm-svn: 193059
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