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
PR c++/54858
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
for1.C
1
// PR c++/47388
2
// { dg-do compile }
3
// { dg-options "-fno-for-scope" }
4
5
template <int>
6
void
7
foo ()
8
{
9
int i;
10
for (i = 0; i < 16; i++)
11
;
12
for (int j = 0; j < 16; j++)
13
;
14
if (j != 16)
15
for (;;)
16
;
17
}
18
19
void
20
bar ()
21
{
22
foo <0> ();
23
}