Index: test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp +++ test/std/containers/associative/map/map.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -44,6 +45,6 @@ } { typedef std::map> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp +++ test/std/containers/associative/multimap/multimap.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -44,6 +45,6 @@ } { typedef std::multimap> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp +++ test/std/containers/associative/multiset/multiset.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,6 +44,6 @@ } { typedef std::multiset> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp +++ test/std/containers/associative/set/set.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,6 +44,6 @@ } { typedef std::set> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp +++ test/std/containers/sequences/deque/deque.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,6 +44,6 @@ } { typedef std::deque> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp +++ test/std/containers/sequences/forwardlist/forwardlist.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,6 +44,6 @@ } { typedef std::forward_list> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp +++ test/std/containers/sequences/list/list.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,6 +44,6 @@ } { typedef std::list> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp +++ test/std/containers/sequences/vector.bool/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "test_allocator.h" template @@ -42,6 +43,6 @@ } { typedef std::vector> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp +++ test/std/containers/sequences/vector/vector.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -43,6 +44,6 @@ } { typedef std::vector> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp +++ test/std/containers/unord/unord.map/unord.map.cnstr/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -54,11 +55,11 @@ } { typedef std::unordered_map> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } { typedef std::unordered_map, some_comp> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp +++ test/std/containers/unord/unord.multimap/unord.multimap.cnstr/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -54,11 +55,11 @@ } { typedef std::unordered_multimap> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } { typedef std::unordered_multimap, some_comp> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp +++ test/std/containers/unord/unord.multiset/unord.multiset.cnstr/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -54,11 +55,11 @@ } { typedef std::unordered_multiset> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } { typedef std::unordered_multiset, some_comp> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp =================================================================== --- test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp +++ test/std/containers/unord/unord.set/unord.set.cnstr/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "MoveOnly.h" #include "test_allocator.h" @@ -54,11 +55,11 @@ } { typedef std::unordered_set> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } { typedef std::unordered_set, some_comp> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } } Index: test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp =================================================================== --- test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp +++ test/std/strings/basic.string/string.cons/dtor_noexcept.pass.cpp @@ -16,6 +16,7 @@ #include #include +#include "test_macros.h" #include "test_allocator.h" template @@ -38,6 +39,6 @@ } { typedef std::basic_string, some_alloc> C; - static_assert(!std::is_nothrow_destructible::value, ""); + LIBCPP_STATIC_ASSERT(!std::is_nothrow_destructible::value, ""); } }