summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string/string.modifiers/string_erase
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.modifiers/string_erase')
-rw-r--r--libcxx/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp
index 88dace52f8a..ee5380edab1 100644
--- a/libcxx/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_erase/size_size.pass.cpp
@@ -11,6 +11,11 @@
// basic_string<charT,traits,Allocator>&
// erase(size_type pos = 0, size_type n = npos);
+// 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