summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp')
-rw-r--r--libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp b/libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp
index f49125cec98..34582a40dda 100644
--- a/libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.capacity/reserve.pass.cpp
@@ -12,6 +12,11 @@
// void reserve();
// void reserve(size_type res_arg);
+// When back-deploying to macosx10.7, the RTTI for exception classes
+// incorrectly provided by libc++.dylib is mixed with the one in
+// libc++abi.dylib and exceptions are not caught properly.
+// XFAIL: with_system_cxx_lib=macosx10.7
+
#include <string>
#include <stdexcept>
#include <cassert>
OpenPOWER on IntegriCloud