From f2cff8d69175ce2641ebc0e7c7804e4bee2fdcd9 Mon Sep 17 00:00:00 2001 From: morzhovets Date: Wed, 5 Feb 2025 22:31:35 +0400 Subject: [PATCH] Update libcxx/vector --- .../vector/vector.modifiers/erase_iter_iter.pass.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/test/sources/libcxx/vector/vector.modifiers/erase_iter_iter.pass.cpp b/test/sources/libcxx/vector/vector.modifiers/erase_iter_iter.pass.cpp index 3c5caf7f..83bba21f 100644 --- a/test/sources/libcxx/vector/vector.modifiers/erase_iter_iter.pass.cpp +++ b/test/sources/libcxx/vector/vector.modifiers/erase_iter_iter.pass.cpp @@ -103,6 +103,9 @@ TEST_CONSTEXPR_CXX20 void tests() { } } } +#if defined(LIBCXX_TEST_INTCAP_ARRAY) || (defined(TEST_CLANG) && __clang_major__ == 12) + if constexpr (!std::is_same_v) +#endif { using InnerVector = std::vector >; using Vector = std::vector >; @@ -143,13 +146,9 @@ TEST_CONSTEXPR_CXX20 void tests() { TEST_CONSTEXPR_CXX20 bool tests() { tests(); -#ifndef LIBCXX_TEST_INTCAP_ARRAY tests(); -#endif tests(); -#ifndef LIBCXX_TEST_INTCAP_ARRAY tests(); -#endif return true; }