aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/exceptions.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2011-02-19 19:23:03 +0000
committerAnders Carlsson <andersca@mac.com>2011-02-19 19:23:03 +0000
commite41721e7dfabcc15cb50be9075a4153f1ad648ea (patch)
tree81dd9c105b254d13ee60dfea27bec414541c975c /test/SemaCXX/exceptions.cpp
parentf4b793ceb60418b64d3593ba3c8240e3594bff8f (diff)
Pass -fexceptions to all tests that use try/catch/throw.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaCXX/exceptions.cpp')
-rw-r--r--test/SemaCXX/exceptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/exceptions.cpp b/test/SemaCXX/exceptions.cpp
index ea3cdd9ef1..bda4a3d2ec 100644
--- a/test/SemaCXX/exceptions.cpp
+++ b/test/SemaCXX/exceptions.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fexceptions -fsyntax-only -verify %s
struct A; // expected-note 4 {{forward declaration of 'A'}}