blob: eb3eddd2681d02b186ff3c1ac0981020a6278d72 [file]
struct thing { x: int, drop { } }
fn thing() -> thing {
thing {
x: 0
}
}
impl thing { fn f(self) {} }
fn main() {
let z = thing();
(move z).f();
}