include rt; include run; include icon; fn main() { let q = run.tokens(""); int before = rt.live_objects(), i = 0; while (i < 100) { let frame = icon.begin(q); icon.set_local(frame, "local", i); icon.set_global(frame, "global", i + 1); icon.close(d*frame); i++; } rt.put_n(rt.live_objects() == before); rt.put_c(10); return 0; }