diff options
Diffstat (limited to 'libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp b/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp index d0a96480834..b94588ead93 100644 --- a/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp +++ b/libcxx/test/std/containers/sequences/vector.bool/default_noexcept.pass.cpp @@ -39,21 +39,11 @@ int main() } { typedef std::vector<bool, other_allocator<bool>> C; -// See N4258 - vector<T, Allocator>::basic_string() noexcept; -#if TEST_STD_VER <= 14 static_assert(!std::is_nothrow_default_constructible<C>::value, ""); -#else - static_assert( std::is_nothrow_default_constructible<C>::value, ""); -#endif } { typedef std::vector<bool, some_alloc<bool>> C; -// See N4258 - vector<T, Allocator>::basic_string() noexcept; -#if TEST_STD_VER <= 14 static_assert(!std::is_nothrow_default_constructible<C>::value, ""); -#else - static_assert( std::is_nothrow_default_constructible<C>::value, ""); -#endif } #endif } |