From fd1abcd288f3a812590db1dd288248792e101515 Mon Sep 17 00:00:00 2001 From: morzhovets Date: Thu, 17 Oct 2024 21:43:03 +0400 Subject: [PATCH] Correct `deduct` tests --- test/sources/libcxx/unord.map/unord.map.cnstr/deduct.pass.cpp | 2 +- .../libcxx/unord.multimap/unord.multimap.cnstr/deduct.pass.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/sources/libcxx/unord.map/unord.map.cnstr/deduct.pass.cpp b/test/sources/libcxx/unord.map/unord.map.cnstr/deduct.pass.cpp index 3f0e2b06..c632e5e6 100644 --- a/test/sources/libcxx/unord.map/unord.map.cnstr/deduct.pass.cpp +++ b/test/sources/libcxx/unord.map/unord.map.cnstr/deduct.pass.cpp @@ -292,7 +292,7 @@ int main(int, char**) } #endif -#if !(defined(TEST_MSVC) && _MSC_VER < 1930) +#if !(defined(TEST_MSVC) && _MSC_VER < 1930) && !(defined(TEST_GCC) && __GNUC__ < 11) #if MOMO_VERSION_MAJOR > 3 UnorderedContainerDeductionGuidesSfinaeAway>(); #endif diff --git a/test/sources/libcxx/unord.multimap/unord.multimap.cnstr/deduct.pass.cpp b/test/sources/libcxx/unord.multimap/unord.multimap.cnstr/deduct.pass.cpp index c3b00bdf..cf2357f6 100644 --- a/test/sources/libcxx/unord.multimap/unord.multimap.cnstr/deduct.pass.cpp +++ b/test/sources/libcxx/unord.multimap/unord.multimap.cnstr/deduct.pass.cpp @@ -218,8 +218,10 @@ int main(int, char**) ASSERT_SAME_TYPE(decltype(m2), momo::stdish::unordered_multimap); } +#if !(defined(TEST_MSVC) && _MSC_VER < 1930) && !(defined(TEST_GCC) && __GNUC__ < 11) #if MOMO_VERSION_MAJOR > 3 UnorderedContainerDeductionGuidesSfinaeAway>(); +#endif #endif return 0;