summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/has_feature_exceptions.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-06-29 16:52:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-06-29 16:52:24 +0000
commit8452ef07981e07aea0539ebf5ee92b72387072ae (patch)
treec80d8d48610014cd2a1c718e6265a0f69a95eb2b /clang/test/Lexer/has_feature_exceptions.cpp
parentec1bee907acd0dab7c8ee02006040057357a0692 (diff)
downloadbcm5719-llvm-8452ef07981e07aea0539ebf5ee92b72387072ae.tar.gz
bcm5719-llvm-8452ef07981e07aea0539ebf5ee92b72387072ae.zip
tests: Use %clangxx when using driver for C++, in case C++ support is disabled.
llvm-svn: 107153
Diffstat (limited to 'clang/test/Lexer/has_feature_exceptions.cpp')
-rw-r--r--clang/test/Lexer/has_feature_exceptions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Lexer/has_feature_exceptions.cpp b/clang/test/Lexer/has_feature_exceptions.cpp
index cfd1efbf846..bb5dc0c1336 100644
--- a/clang/test/Lexer/has_feature_exceptions.cpp
+++ b/clang/test/Lexer/has_feature_exceptions.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s
-// RUN: %clang -E -fno-exceptions %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
+// RUN: %clang_cc1 -E -fexceptions %s -o - | FileCheck --check-prefix=CHECK-EXCEPTIONS %s
+// RUN: %clang_cc1 -E %s -o - | FileCheck --check-prefix=CHECK-NO-EXCEPTIONS %s
#if __has_feature(cxx_exceptions)
int foo();
OpenPOWER on IntegriCloud