Index: libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp =================================================================== --- libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp +++ libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_copy.pass.cpp @@ -36,7 +36,7 @@ Implicit(int x) : value(x) {} }; -#if _LIBCPP_STD_VER > 17 +#if TEST_STD_VER > 17 constexpr bool alloc_copy_constructor_is_constexpr() { const std::tuple t1 = 1; std::tuple t2 = {std::allocator_arg, test_allocator{}, t1}; @@ -106,7 +106,7 @@ std::tuple t0(derived, A1(), from); } -#if _LIBCPP_STD_VER > 17 +#if TEST_STD_VER > 17 static_assert(alloc_copy_constructor_is_constexpr()); #endif return 0; Index: libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp =================================================================== --- libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp +++ libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/alloc_convert_move.pass.cpp @@ -51,7 +51,7 @@ Implicit(int x) : value(x) {} }; -#if _LIBCPP_STD_VER > 17 +#if TEST_STD_VER > 17 constexpr bool alloc_move_constructor_is_constexpr() { std::tuple t1 = 1; std::tuple t2 = {std::allocator_arg, test_allocator{}, std::move(t1)}; @@ -119,7 +119,7 @@ std::tuple t0(derived, A1(), std::move(from)); } -#if _LIBCPP_STD_VER > 17 +#if TEST_STD_VER > 17 static_assert(alloc_move_constructor_is_constexpr()); #endif Index: libcxx/test/support/test_iterators.h =================================================================== --- libcxx/test/support/test_iterators.h +++ libcxx/test/support/test_iterators.h @@ -53,7 +53,7 @@ template void operator,(T const &) = delete; }; -#if _LIBCPP_STD_VER > 17 +#if TEST_STD_VER > 17 static_assert(std::output_iterator, int>); #endif @@ -94,7 +94,7 @@ template void operator,(T const &) = delete; }; -#if _LIBCPP_STD_VER > 17 +#if TEST_STD_VER > 17 static_assert(std::input_iterator>); #endif Index: libcxx/test/support/test_range.h =================================================================== --- libcxx/test/support/test_range.h +++ libcxx/test/support/test_range.h @@ -13,7 +13,7 @@ #include "test_iterators.h" -#if _LIBCPP_STD_VER < 17 +#if TEST_STD_VER < 17 #error "test/support/test_range.h" can only be included in builds supporting ranges #endif