https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81918

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Reduced testcase:
template <typename> auto baz ();
template <typename C, typename D> concept bool e = requires (C a, D f) {{ f (a)
}};
template <typename G, typename D> requires e<G, D> auto bar (G, G, D);

void
foo ()
{
  int i { bar (baz, i, [](auto j) { return j; }); };
}

Reply via email to