1 // PR c++/85305 2 // { dg-do compile { target c++17 } } 3 4 template <int... Is> foo()5 void foo() 6 { 7 ([i = Is]{}(), ...); 8 } 9