// { dg-do compile { target c++20 } } // a potential fix for 99425 generated an ICE here. template struct is_nothrow_destructible; template struct common_reference; template concept same_as = true; template concept sentinel_for = same_as> && is_nothrow_destructible<_Iter>::value; template concept __member_end = requires (_Tp& __t) { { true } -> sentinel_for; }; template concept __adl_end = requires (_Tp& __t) { { true } -> sentinel_for; }; template requires __member_end<_Tp> || __adl_end<_Tp> void Bar (_Tp&& __t) { } void test03 () { Bar (1); // { dg-error "no matching function" } }