diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-06-29 16:52:24 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-06-29 16:52:24 +0000 |
commit | 9fde9c424f734e1ef45177999e3a04faad127414 (patch) | |
tree | a596617efe860133b0b1eebe86e91860bd1517ff /test/Lexer/has_feature_exceptions.cpp | |
parent | b3fc0603e5b64b659bc6a37cc209dc404d3093f4 (diff) |
tests: Use %clangxx when using driver for C++, in case C++ support is disabled.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer/has_feature_exceptions.cpp')
-rw-r--r-- | test/Lexer/has_feature_exceptions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Lexer/has_feature_exceptions.cpp b/test/Lexer/has_feature_exceptions.cpp index cfd1efbf84..bb5dc0c133 100644 --- a/test/Lexer/has_feature_exceptions.cpp +++ b/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(); |