// expect error: x is used but never defined // spec 4.1.8: a local is scoped to its block include rt; void pn(int x) { rt.put_n(x); rt.put_c(10); } fn main() { { int x = 1; } pn(x); return 0; }