// expect error: head: belongs to item, which was freed at the end of its block (line 10) // spec 6.8.5 include rt; struct node { int value; node* next; }; fn main() { node* head = rt.new(node); { node* item = rt.new(node); item.next = head; } rt.put_n(head.value); } // zc0: skip