namespace; include rt; struct node { node* next; int v; } // expect: a: reassigning frees the old value, and the new value is part of it fn main() { node* a = rt.new(node); a.next = rt.new(node); a = a.next; return 0; }