aboutsummaryrefslogtreecommitdiff
path: root/tests/errors/u_dropped.zc
blob: e1ca68a723c2d66545cbc98ab3ac8752eda79b16 (plain) (blame)
1
2
// expect: x: u object must leave this block
fn main() { let x = new(3); u*x; return 0; }