summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/unreachable-code.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-02-28 00:40:07 +0000
committerAnders Carlsson <andersca@mac.com>2011-02-28 00:40:07 +0000
commit6774b1f1c1fb325bc3d2f426dcdbd725ec3c9d73 (patch)
tree83eb1dc78fdfc387a8a9b29f58cd3d190ebcc94a /clang/test/SemaCXX/unreachable-code.cpp
parent6dc07d4e5664af913b552a5e8cd3bd689e344f55 (diff)
downloadbcm5719-llvm-6774b1f1c1fb325bc3d2f426dcdbd725ec3c9d73.tar.gz
bcm5719-llvm-6774b1f1c1fb325bc3d2f426dcdbd725ec3c9d73.zip
Add -fcxx-exceptions to all tests that use C++ exceptions.
llvm-svn: 126599
Diffstat (limited to 'clang/test/SemaCXX/unreachable-code.cpp')
-rw-r--r--clang/test/SemaCXX/unreachable-code.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaCXX/unreachable-code.cpp b/clang/test/SemaCXX/unreachable-code.cpp
index 03d44ab8ce4..743290e1b9e 100644
--- a/clang/test/SemaCXX/unreachable-code.cpp
+++ b/clang/test/SemaCXX/unreachable-code.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fexceptions -fsyntax-only -Wunreachable-code -fblocks -verify %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -Wunreachable-code -fblocks -verify %s
int j;
void bar() { }
OpenPOWER on IntegriCloud