https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108606
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[13 Regression] ICE in |[13 Regression] ICE in |potential_constant_expressi |potential_constant_expressi |on_1, at |on_1 with friend function |cp/constexpr.cc:9713 |declaration inside a local | |class of a | |generic/templated lambda --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Reduced testcase: auto t = [](int) { class C { friend void h(); }; };