[libc++] Fix XFAILs when exceptions are disabled

It turns out that I un-XFAILed too many tests in r353210: some tests
actually fail whether exceptions are enabled or not because they use
types that are marked as unavailable even when exceptions are disabled.

llvm-svn: 353215
This commit is contained in:
Louis Dionne 2019-02-05 20:55:23 +00:00
parent c2dc4d4aef
commit a53eb79be6
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
// XFAIL: dylib-has-no-bad_optional_access
// <optional>

View File

@ -7,7 +7,7 @@
//===----------------------------------------------------------------------===//
// UNSUPPORTED: c++98, c++03, c++11, c++14
// XFAIL: dylib-has-no-bad_optional_access && !libcpp-no-exceptions
// XFAIL: dylib-has-no-bad_optional_access
// <optional>

View File

@ -9,7 +9,7 @@
// UNSUPPORTED: c++98, c++03, c++11, c++14
// XFAIL: dylib-has-no-bad_variant_access && !libcpp-no-exceptions
// XFAIL: dylib-has-no-bad_variant_access
// <variant>