summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/instantiate-try-catch.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
commitabea951c34876a5374d0e3678c7989b225c5c895 (patch)
tree1e54746d58bb184be659f48b2dc4d450d19303f2 /test/SemaTemplate/instantiate-try-catch.cpp
parent7a17851eee37f933eb57a5af7e1a0eb455443f6a (diff)
downloadclang-abea951c34876a5374d0e3678c7989b225c5c895.tar.gz
clang-abea951c34876a5374d0e3678c7989b225c5c895.tar.bz2
clang-abea951c34876a5374d0e3678c7989b225c5c895.tar.xz
Add -fcxx-exceptions to all tests that use C++ exceptions.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126599 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/SemaTemplate/instantiate-try-catch.cpp')
-rw-r--r--test/SemaTemplate/instantiate-try-catch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaTemplate/instantiate-try-catch.cpp b/test/SemaTemplate/instantiate-try-catch.cpp
index f1ffd06334..1c6c26f258 100644
--- a/test/SemaTemplate/instantiate-try-catch.cpp
+++ b/test/SemaTemplate/instantiate-try-catch.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fexceptions -fsyntax-only -std=c++0x -verify %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -fsyntax-only -std=c++0x -verify %s
template<typename T> struct TryCatch0 {
void f() {