From 443c3a7acac78ccfe444285f4674fb0baca90ffd Mon Sep 17 00:00:00 2001 From: morzhovets Date: Sun, 26 Nov 2023 21:55:40 +0400 Subject: [PATCH] Update libcxx/map --- test/sources/libcxx/map/map.cons/deduct.pass.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/sources/libcxx/map/map.cons/deduct.pass.cpp b/test/sources/libcxx/map/map.cons/deduct.pass.cpp index f990c3a4..45bc2d9b 100644 --- a/test/sources/libcxx/map/map.cons/deduct.pass.cpp +++ b/test/sources/libcxx/map/map.cons/deduct.pass.cpp @@ -131,20 +131,18 @@ int main(int, char**) assert(m.get_allocator().get_id() == 45); } +#if !defined(TEST_GCC) { // Examples from LWG3025 -#if !defined(TEST_GCC) momo::stdish::map m{std::pair{1, 1}, {2, 2}, {3, 3}}; ASSERT_SAME_TYPE(decltype(m), momo::stdish::map); -#else - momo::stdish::map m; -#endif -#if !defined(TEST_MSVC) && !defined(TEST_CLANG) +#ifdef LIBCPP_HAS_BAD_NEWS_FOR_MOMO momo::stdish::map m2{m.begin(), m.end()}; ASSERT_SAME_TYPE(decltype(m2), momo::stdish::map); #endif } +#endif { // Examples from LWG3531