https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120174
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code --- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #3) > Reduced testcase: > ``` > auto t = [](decltype([](){}) &){}; > ``` Actually this is the reduced testcase: ``` auto c = [](decltype([](){})={}){ return 0; }; auto t = c(1); ```