Sign in
llvm
/
llvm-archive
/
f91d1660b4827134c7666ae9637f21a2741d183f
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.dg
/
init
/
for2.C
blob: d66fea30ef212166d4da9eef33858700939032a4 [
file
] [
log
] [
blame
]
// { dg-do compile }
// PR 16012: Got the scope of I incorrect in templates only.
template
<int>
void
foo
()
{
for
(
int
i
=
0
;;)
;
int
i
;
}
void
bar
()
{
foo
<
0
>();
}