// expect: x: used after it was given away fn main() { let x = new(1); d*x; { x[0] = 5; } return x[0]; }