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

--- Comment #4 from G. Steinmetz <gs...@t-online.de> ---

A modified variant :


$ cat z2.cc
template <int ...>
void foo (int n)
{
  int a[n];
  [a]{};
}
void bar ()
{
  foo (2);
}

Reply via email to