2 // { dg-do compile { target c++20 } }
4 template <typename b, typename c> concept d = requires(b e) { e.operator c(); };
6 template <typename f, typename g> requires(d<f, g>) bool equal(f, g);
8 template <typename h> struct i {
13 static_assert( d<i<float>, float>);
14 static_assert(!d<i<float>, int>);
18 return equal(a, 3.0f);