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 dba7e0a commit dd132ef
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/unord.map/unord.map.cnstr/deduct.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,10 @@ int main(int, char**)
}
#endif

#if !(defined(TEST_MSVC) && _MSC_VER < 1930)
#if MOMO_VERSION_MAJOR > 3
UnorderedContainerDeductionGuidesSfinaeAway<std::unordered_map, std::unordered_map<int, long>>();
#endif
#endif

return 0;
Expand Down
2 changes: 2 additions & 0 deletions test/sources/libcxx/vector/vector.cons/deduct.pass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,10 @@ TEST_CONSTEXPR_CXX20 bool tests() {
}
}

#if !(defined(TEST_GCC) && __GNUC__ < 11)
#if MOMO_VERSION_MAJOR > 3
SequenceContainerDeductionGuidesSfinaeAway<std::vector, std::vector<int>>();
#endif
#endif

return true;
Expand Down

0 comments on commit dd132ef

Please sign in to comment.