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

Jason Merrill <jason at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |jason at gcc dot gnu.org

--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Reduced further:

int SIZE = 100;

template<typename T>
void foo(T) {
  char buf[SIZE];
  [&buf](auto){ }(42);
}

int main() { foo(42); }

Reply via email to