summaryrefslogtreecommitdiffstats
path: root/clang/test/InterfaceStubs/trycatch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/InterfaceStubs/trycatch.cpp')
-rw-r--r--clang/test/InterfaceStubs/trycatch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/InterfaceStubs/trycatch.cpp b/clang/test/InterfaceStubs/trycatch.cpp
index 310e9038f1a..57076a097cb 100644
--- a/clang/test/InterfaceStubs/trycatch.cpp
+++ b/clang/test/InterfaceStubs/trycatch.cpp
@@ -1,6 +1,6 @@
// REQUIRES: x86-registered-target
-// RUN: %clang -target x86_64-unknown-linux-gnu -c -o - -emit-interface-stubs %s | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fcxx-exceptions -o - -emit-interface-stubs %s | FileCheck %s
// CHECK: --- !experimental-ifs-v1
@@ -12,4 +12,4 @@
// CHECK-NEXT: ...
class C5 {};
-void f() { try {} catch(C5&){} } \ No newline at end of file
+void f() { try {} catch(C5&){} }
OpenPOWER on IntegriCloud