diff options
Diffstat (limited to 'test/test_exception_storage.pass.cpp')
-rw-r--r-- | test/test_exception_storage.pass.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_exception_storage.pass.cpp b/test/test_exception_storage.pass.cpp index 67ab51d..6d0c035 100644 --- a/test/test_exception_storage.pass.cpp +++ b/test/test_exception_storage.pass.cpp @@ -7,6 +7,10 @@ // //===----------------------------------------------------------------------===// +// FIXME: cxa_exception.hpp directly references `std::unexpected` and friends. +// This breaks this test when compiled in C++17. For now fix this by manually +// re-enabling the STL functions. +#define _LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS #include "../src/config.h" #include <cstdlib> |