blob: babbb0183963a65795e945edc998ac83af1b997a (
plain)
1
2
3
4
5
6
7
8
|
// 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
|