Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
scope1.C
blob: babbb0183963a65795e945edc998ac83af1b997a [
file
] [
log
] [
blame
]
// Build don't link:
// GROUPS passed scoping
int
f
(
int
i
)
{
if
(
i
)
for
(
int
j
=
i
;
j
;
j
--)
;
return
j
;
// error: j should only be in scope inside the body of `for'// ERROR - .*
}
// ERROR - non-void