Debian Codegraph @

gcc/testsuite/g++.dg/cpp1z/fold-lambda2.C

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