summaryrefslogtreecommitdiffstats
path: root/test/SemaCXX/exception-spec-no-exceptions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/exception-spec-no-exceptions.cpp')
-rw-r--r--test/SemaCXX/exception-spec-no-exceptions.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/SemaCXX/exception-spec-no-exceptions.cpp b/test/SemaCXX/exception-spec-no-exceptions.cpp
index 1fe45b0..2e18070 100644
--- a/test/SemaCXX/exception-spec-no-exceptions.cpp
+++ b/test/SemaCXX/exception-spec-no-exceptions.cpp
@@ -1,7 +1,8 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fexceptions -fobjc-exceptions %s
-// Note: this is intentionally -fno-exceptions, not just accidentally
-// so because that's the current -cc1 default.
+// Note that we're specifically excluding -fcxx-exceptions in the command line above.
+
+// That this should work even with -fobjc-exceptions is PR9358
// PR7243: redeclarations
namespace test0 {
OpenPOWER on IntegriCloud