OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
gcc/cp/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
init
/
for2.C
1
// { dg-do compile }
2
// PR 16012: Got the scope of I incorrect in templates only.
3
4
template<int> void foo()
5
{
6
for (int i=0 ;;) ;
7
int i;
8
}
9
10
void bar()
11
{
12
foo<0>();
13
}