Skip to content

Commit

Permalink
fix P0088R3_variant and report the issue to Devcomm
Browse files Browse the repository at this point in the history
  • Loading branch information
fsb4000 committed Jul 31, 2022
1 parent 8690746 commit 8a8cd1d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/std/tests/P0088R3_variant/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1180,16 +1180,20 @@ struct hash<::hash::B> {
namespace hash {
void test_hash_variant_enabled() {
{
#ifndef __EDG__ // TRANSITION, DevCom-10107834
test_hash_enabled_for_type<std::variant<int> >();
test_hash_enabled_for_type<std::variant<int*, long, double, const int> >();
#endif // // TRANSITION, DevCom-10107834
}
{
test_hash_disabled_for_type<std::variant<int, A>>();
test_hash_disabled_for_type<std::variant<const A, void*>>();
}
{
#ifndef __EDG__ // TRANSITION, DevCom-10107834
test_hash_enabled_for_type<std::variant<int, B>>();
test_hash_enabled_for_type<std::variant<const B, int>>();
#endif // TRANSITION, DevCom-10107834
}
}

Expand Down

0 comments on commit 8a8cd1d

Please sign in to comment.