aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/debug/debug_throw_register.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/debug/debug_throw_register.pass.cpp')
-rw-r--r--test/libcxx/debug/debug_throw_register.pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/libcxx/debug/debug_throw_register.pass.cpp b/test/libcxx/debug/debug_throw_register.pass.cpp
index 21b1d5255d3d..ec4be700e190 100644
--- a/test/libcxx/debug/debug_throw_register.pass.cpp
+++ b/test/libcxx/debug/debug_throw_register.pass.cpp
@@ -7,7 +7,10 @@
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+
// UNSUPPORTED: libcpp-no-exceptions
+// MODULES_DEFINES: _LIBCPP_DEBUG=1
+// MODULES_DEFINES: _LIBCPP_DEBUG_USE_EXCEPTIONS
// Test that defining _LIBCPP_DEBUG_USE_EXCEPTIONS causes _LIBCPP_ASSERT
// to throw on failure.