diff options
author | John McCall <rjmccall@apple.com> | 2011-03-02 02:04:40 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-03-02 02:04:40 +0000 |
commit | 018591f524ca4f3a1e657d0d0a66eadf9dbd55f6 (patch) | |
tree | 95fbe9159daff6b6eeba0960e6a9ae13bc9bc926 /test/CXX/except | |
parent | 406f98f6a5a7bde5707085af8d66204e7e76af45 (diff) | |
download | clang-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.cpp | 2 |
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 { }; |