80d129aa45
Closes #3220
8 lines
140 B
Rust
8 lines
140 B
Rust
struct thing { x: int; new () { self.x = 0; } drop { } }
|
|
impl thing { fn f(self) {} }
|
|
|
|
fn main() {
|
|
let z = thing();
|
|
(move z).f();
|
|
}
|