diff options
Diffstat (limited to 'libcxx/test/std/language.support/support.dynamic/alloc.errors')
| -rw-r--r-- | libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_length.pass.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_length.pass.cpp b/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_length.pass.cpp index 7de50330455..cc99b83aca4 100644 --- a/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_length.pass.cpp +++ b/libcxx/test/std/language.support/support.dynamic/alloc.errors/new.badlength/bad_array_length.pass.cpp @@ -7,6 +7,7 @@ // //===----------------------------------------------------------------------===// +// UNSUPPORTED: c++98, c++03, c++11 // test bad_array_length #include <new> @@ -15,7 +16,6 @@ int main() { -#if __LIBCPP_STD_VER > 11 static_assert((std::is_base_of<std::bad_alloc, std::bad_array_length>::value), "std::is_base_of<std::bad_alloc, std::bad_array_length>::value"); static_assert(std::is_polymorphic<std::bad_array_length>::value, @@ -25,5 +25,4 @@ int main() b2 = b; const char* w = b2.what(); assert(w); -#endif } |

