rust/src/test/auxiliary/issue2170lib.rs
2012-08-17 10:13:45 -07:00

10 lines
118 B
Rust

export rsrc;
fn foo(_x: i32) {
}
struct rsrc {
let x: i32;
new(x: i32) { self.x = x; }
drop { foo(self.x); }
}