1 // RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null
2 // RUN: %clang -fexceptions -emit-llvm -x objc++-cpp-output -S %s -o /dev/null -### 2>&1 | FileCheck %s
7 // Should compile without errors
14 // Make sure the driver is passing all the necessary exception flags.
15 // CHECK: "-fobjc-exceptions"
16 // CHECK: "-fcxx-exceptions"
17 // CHECK: "-fexceptions"