// expect error: x: drop is already set // destructors 2: a value's drop can be set only once include rt; fn main() { int* x = rt.new(int); x.drop = fn() { rt.put_s("a"); }; x.drop = fn() { rt.put_s("b"); }; return 0; } // zc0: skip