// PR c++/109751 // { dg-do compile { target c++20 } } template concept cmpeq = requires(_Tp __t, _Tp __u) { { __u != __t } ; }; template struct iterator_interface { friend constexpr bool operator>=(D lhs, D rhs) requires cmpeq { return true; } }; template struct iterator : iterator_interface> { bool operator==(iterator) const; iterator &operator++(); iterator &operator++(int); }; static_assert(cmpeq>);