Add -fexceptions for targets where it isn't the default.

It still tests that objc++-cpp-output turns on -fcxx-exceptions and
-fobjc-exceptions by being a c++ and objc(++) file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230992 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Filipe Cabecinhas 2015-03-02 19:11:53 +00:00
parent a6fe515da6
commit 90b24cb4ed
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
// RUN: %clang -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
// RUN: %clang -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s
// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
// RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s
// PR13820
// REQUIRES: LP64