From 8452ef07981e07aea0539ebf5ee92b72387072ae Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 29 Jun 2010 16:52:24 +0000 Subject: tests: Use %clangxx when using driver for C++, in case C++ support is disabled. llvm-svn: 107153 --- clang/test/Lexer/has_feature_exceptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/test/Lexer/has_feature_exceptions.cpp') 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(); -- cgit v1.2.3