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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
template <typename... T> void foo (T... x)
{
}

template <typename... T> void bar (T... x)
{
  foo ([x...] { static_cast<void> (x); }...);
}

void
test ()
{
  bar ();
  bar (1);
  bar (2.0, 3LL, 4);
}

ICEs too.

Reply via email to