Skip to content

Commit

Permalink
Correct deduct tests
Browse files Browse the repository at this point in the history
  • Loading branch information
morzhovets committed Oct 17, 2024
1 parent fd1abcd commit 9ce1fc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sources/libcxx/map/map.cons/deduct.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@ int main(int, char**)
#endif
}

#if !(defined(TEST_MSVC) && _MSC_VER < 1930) && !(defined(TEST_GCC) && __GNUC__ < 11)
#if MOMO_VERSION_MAJOR > 3
AssociativeContainerDeductionGuidesSfinaeAway<std::map, std::map<int, long>>();
#endif
#endif

return 0;
Expand Down
2 changes: 2 additions & 0 deletions test/sources/libcxx/multimap/multimap.cons/deduct.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@ int main(int, char**)
#endif
}

#if !(defined(TEST_MSVC) && _MSC_VER < 1930) && !(defined(TEST_GCC) && __GNUC__ < 11)
#if MOMO_VERSION_MAJOR > 3
AssociativeContainerDeductionGuidesSfinaeAway<std::multimap, std::multimap<int, long>>();
#endif
#endif

return 0;
Expand Down

0 comments on commit 9ce1fc5

Please sign in to comment.