diff --git a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/at_transparent.pass.cpp b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/at_transparent.pass.cpp index 7be6fd7cba0d5..be38768097caa 100644 --- a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/at_transparent.pass.cpp +++ b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/at_transparent.pass.cpp @@ -35,7 +35,7 @@ static_assert(!CanAt); static_assert(!CanAt); template -constexpr void test() { +TEST_CONSTEXPR_CXX26 void test() { using P = std::pair; P ar[] = { P(1, 1.5), @@ -97,7 +97,7 @@ constexpr void test() { } } -constexpr bool test() { +TEST_CONSTEXPR_CXX26 bool test() { test, std::vector>(); #ifndef __cpp_lib_constexpr_deque if (!TEST_IS_CONSTANT_EVALUATED) diff --git a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/index_transparent.pass.cpp b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/index_transparent.pass.cpp index 98629364654b6..5a82b1c5e0736 100644 --- a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/index_transparent.pass.cpp +++ b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.access/index_transparent.pass.cpp @@ -50,7 +50,7 @@ static_assert(!CanIndex); static_assert(!CanIndex); template -constexpr void test() { +TEST_CONSTEXPR_CXX26 void test() { using P = std::pair; P ar[] = { P(1, 1.5), @@ -81,7 +81,7 @@ constexpr void test() { } } -constexpr bool test() { +TEST_CONSTEXPR_CXX26 bool test() { test, std::vector>(); #ifndef __cpp_lib_constexpr_deque if (!TEST_IS_CONSTANT_EVALUATED) diff --git a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.capacity/max_size.pass.cpp b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.capacity/max_size.pass.cpp index ee01f8eb1dfe4..5b54e6cbe1dec 100644 --- a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.capacity/max_size.pass.cpp +++ b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.capacity/max_size.pass.cpp @@ -24,7 +24,7 @@ #include "test_allocator.h" #include "test_macros.h" -constexpr bool test() { +TEST_CONSTEXPR_CXX26 bool test() { { using A1 = limited_allocator; using A2 = limited_allocator; diff --git a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.cons/copy_assign.pass.cpp b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.cons/copy_assign.pass.cpp index c98803f6cce9d..708fb95836f3c 100644 --- a/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.cons/copy_assign.pass.cpp +++ b/libcxx/test/std/containers/container.adaptors/flat.map/flat.map.cons/copy_assign.pass.cpp @@ -24,7 +24,7 @@ #include "test_allocator.h" template