Index: libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp =================================================================== --- libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp +++ libcxx/trunk/test/std/language.support/support.exception/except.nested/assign.pass.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: libcpp-no-exceptions // // class nested_exception; @@ -17,6 +16,8 @@ #include #include +#include "test_macros.h" + class A { int data_; @@ -34,6 +35,7 @@ e = e0; assert(e.nested_ptr() == nullptr); } +#ifndef TEST_HAS_NO_EXCEPTIONS { try { @@ -57,4 +59,5 @@ } } } +#endif } Index: libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp =================================================================== --- libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp +++ libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_copy.pass.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: libcpp-no-exceptions // // class nested_exception; @@ -17,6 +16,8 @@ #include #include +#include "test_macros.h" + class A { int data_; @@ -33,6 +34,7 @@ std::nested_exception e = e0; assert(e.nested_ptr() == nullptr); } +#ifndef TEST_HAS_NO_EXCEPTIONS { try { @@ -55,4 +57,5 @@ } } } +#endif } Index: libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp =================================================================== --- libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp +++ libcxx/trunk/test/std/language.support/support.exception/except.nested/ctor_default.pass.cpp @@ -7,7 +7,6 @@ // //===----------------------------------------------------------------------===// -// XFAIL: libcpp-no-exceptions // // class nested_exception; @@ -17,6 +16,8 @@ #include #include +#include "test_macros.h" + class A { int data_; @@ -32,6 +33,7 @@ std::nested_exception e; assert(e.nested_ptr() == nullptr); } +#ifndef TEST_HAS_NO_EXCEPTIONS { try { @@ -53,4 +55,5 @@ } } } +#endif }