repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reflect: canonicalize types returned by StructOf() and friends
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
scope1.C
blob
f5459410941ac8a91a5cc06cb3ffd31bc369fb44
1
// { dg-do assemble }
2
// GROUPS passed scoping
3
int f (int i) {
4
if (i)
5
for (int j = i; j; j--)
6
;
7
return j; // error: j should only be in scope inside the body of `for'// { dg-error "" } .*
8
}