Skip to content

Commit 8a8cd1d

Browse files
committed
fix P0088R3_variant and report the issue to Devcomm
1 parent 8690746 commit 8a8cd1d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/std/tests/P0088R3_variant/test.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,16 +1180,20 @@ struct hash<::hash::B> {
11801180
namespace hash {
11811181
void test_hash_variant_enabled() {
11821182
{
1183+
#ifndef __EDG__ // TRANSITION, DevCom-10107834
11831184
test_hash_enabled_for_type<std::variant<int> >();
11841185
test_hash_enabled_for_type<std::variant<int*, long, double, const int> >();
1186+
#endif // // TRANSITION, DevCom-10107834
11851187
}
11861188
{
11871189
test_hash_disabled_for_type<std::variant<int, A>>();
11881190
test_hash_disabled_for_type<std::variant<const A, void*>>();
11891191
}
11901192
{
1193+
#ifndef __EDG__ // TRANSITION, DevCom-10107834
11911194
test_hash_enabled_for_type<std::variant<int, B>>();
11921195
test_hash_enabled_for_type<std::variant<const B, int>>();
1196+
#endif // TRANSITION, DevCom-10107834
11931197
}
11941198
}
11951199

0 commit comments

Comments
 (0)