summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2017-02-17 04:26:22 +0000
committerEric Fiselier <eric@efcs.ca>2017-02-17 04:26:22 +0000
commit66c8647825ae5d0d3aa29bd3f7d6c93627d71a66 (patch)
tree869776f6967323528c39a49c03e9240e912fadd7 /test
parenta3b0b11e68329c57be7059f61a4f3f52302e9bd0 (diff)
Fix test_exception_storage.pass.cpp in C++17 my re-enabling the unexpected handlers
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@295411 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/test_exception_storage.pass.cpp4
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>