summaryrefslogtreecommitdiff
path: root/test/CXX/except
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-03-02 02:04:40 +0000
committerJohn McCall <rjmccall@apple.com>2011-03-02 02:04:40 +0000
commit018591f524ca4f3a1e657d0d0a66eadf9dbd55f6 (patch)
tree95fbe9159daff6b6eeba0960e6a9ae13bc9bc926 /test/CXX/except
parent406f98f6a5a7bde5707085af8d66204e7e76af45 (diff)
downloadclang-018591f524ca4f3a1e657d0d0a66eadf9dbd55f6.tar.gz
Semantic checking for exception specifications should be triggered by
whether C++ exceptions are enabled, not exceptions in general. PR9358. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126820 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CXX/except')
-rw-r--r--test/CXX/except/except.spec/p14.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CXX/except/except.spec/p14.cpp b/test/CXX/except/except.spec/p14.cpp
index 9450b1cf80..f5e83eaac6 100644
--- a/test/CXX/except/except.spec/p14.cpp
+++ b/test/CXX/except/except.spec/p14.cpp
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fexceptions -verify %s
+// RUN: %clang_cc1 -fcxx-exceptions -fexceptions -verify %s
struct A { };
struct B { };
struct C { };