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

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

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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Adjusted #c0 testcase that is accepted up to r13-2164 and ICEs with r13-2165 up
to current trunk:

template <typename T>
void bar (T) {}

void
foo ()
{
  bar ([&](auto x) { class C { friend void baz (); }; });
}

I can confirm #c1 doesn't reproduce for me either.

Reply via email to