summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string/string.cons
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.cons')
-rw-r--r--libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp b/libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp
index 44f29beec92..585b684f3fb 100644
--- a/libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.cons/substr.pass.cpp
@@ -16,6 +16,11 @@
// size_type pos,
// const Allocator& a = Allocator());
+// 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 <algorithm>
OpenPOWER on IntegriCloud