(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.old-deja/
g++.brendan/
scope1.C
// { dg-do assemble  }
// 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'// { dg-error "" } .*
}