about summary refs log tree commit diff
path: root/src/test/run-pass/obj-drop.rs
blob: a823784e1b0c692ec323c39c7fbe6734e65f0998 (plain)
1
2
3
4
5
6
7
8
fn main() {
    obj handle(i: @int) { }
    // This just tests whether the obj leaks its box state members.

    let ob = handle(@0xf00f00);
}