From 1f72a0006ca727eab0d279fa9e08855706e4efc3 Mon Sep 17 00:00:00 2001 From: Filipe Cabecinhas Date: Mon, 2 Mar 2015 19:11:53 +0000 Subject: [PATCH] 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. llvm-svn: 230992 --- clang/test/Driver/objc++-cpp-output.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Driver/objc++-cpp-output.mm b/clang/test/Driver/objc++-cpp-output.mm index a42f7b25..8b8eeb5 100644 --- a/clang/test/Driver/objc++-cpp-output.mm +++ b/clang/test/Driver/objc++-cpp-output.mm @@ -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 -- 2.7.4