Index: test/std/containers/sequences/array/array.data/data.pass.cpp =================================================================== --- test/std/containers/sequences/array/array.data/data.pass.cpp +++ test/std/containers/sequences/array/array.data/data.pass.cpp @@ -42,7 +42,7 @@ typedef std::array C; C c = {}; T* p = c.data(); - assert(p != nullptr); + LIBCPP_ASSERT(p != nullptr); } { typedef double T; @@ -50,14 +50,14 @@ C c = {{}}; const T* p = c.data(); static_assert((std::is_same::value), ""); - assert(p != nullptr); + LIBCPP_ASSERT(p != nullptr); } { typedef std::max_align_t T; typedef std::array C; const C c = {}; const T* p = c.data(); - assert(p != nullptr); + LIBCPP_ASSERT(p != nullptr); std::uintptr_t pint = reinterpret_cast(p); assert(pint % TEST_ALIGNOF(std::max_align_t) == 0); } @@ -66,6 +66,6 @@ typedef std::array C; C c = {}; T* p = c.data(); - assert(p != nullptr); + LIBCPP_ASSERT(p != nullptr); } } Index: test/std/containers/sequences/array/array.data/data_const.pass.cpp =================================================================== --- test/std/containers/sequences/array/array.data/data_const.pass.cpp +++ test/std/containers/sequences/array/array.data/data_const.pass.cpp @@ -48,14 +48,14 @@ typedef std::array C; const C c = {}; const T* p = c.data(); - assert(p != nullptr); + LIBCPP_ASSERT(p != nullptr); } { typedef std::max_align_t T; typedef std::array C; const C c = {}; const T* p = c.data(); - assert(p != nullptr); + LIBCPP_ASSERT(p != nullptr); std::uintptr_t pint = reinterpret_cast(p); assert(pint % TEST_ALIGNOF(std::max_align_t) == 0); }