// expect: 100/5/ // spec 4.6: the loop variable's scope is the loop (an outer i is untouched) include rt; void pn(int x) { rt.put_n(x); rt.put_c(10); } fn main() { int i = 100; int last = 0; for (int i = 0; i < 6; i++) last = i; pn(i); pn(last); return 0; }