summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test/catch_function_03.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxxabi/test/catch_function_03.pass.cpp')
-rw-r--r--libcxxabi/test/catch_function_03.pass.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxxabi/test/catch_function_03.pass.cpp b/libcxxabi/test/catch_function_03.pass.cpp
index 4118fde1d95..c0b33fd6b4c 100644
--- a/libcxxabi/test/catch_function_03.pass.cpp
+++ b/libcxxabi/test/catch_function_03.pass.cpp
@@ -9,7 +9,7 @@
// Can a noexcept function pointer be caught by a non-noexcept catch clause?
// UNSUPPORTED: c++98, c++03, c++11, c++14
-// UNSUPPORTED: libcxxabi-no-exceptions, libcxxabi-no-qualified-function-types
+// UNSUPPORTED: libcxxabi-no-exceptions
#include <cassert>
@@ -57,9 +57,11 @@ void check_deep() {
int main()
{
+#ifdef __cpp_noexcept_function_type
check<false, false>();
check<false, true>();
check<true, false>();
check<true, true>();
check_deep();
+#endif
}
OpenPOWER on IntegriCloud