https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85209
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Valid alternative to the testcase that also ICEs: struct S { int a; } s; template <int> void foo () { auto [a] = []{ return s; } (); }; void bar () { foo<0> (); }