PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / init / for2.C
blobd66fea30ef212166d4da9eef33858700939032a4
1 // { dg-do compile }
2 // PR 16012: Got the scope of I incorrect in templates only.
4 template<int> void foo()
6    for (int i=0 ;;) ;
7    int i;
10 void bar()
12   foo<0>();