blob: 14ca95457da71d64ea9167781dab54070c67c902 [file] [log] [blame]
// PR c++/85305
// { dg-do compile { target c++17 } }
template <int... Is>
void foo()
{
([i = Is]{}(), ...);
}