https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106668
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=105852 --- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Here is another testcase using templated lambda instead of auto: void foo(); bool ok = []<int t=0> () { struct y { friend void foo(); }; return 0; }();