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