aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/obj-drop.rs
blob: ab068b9b599653b120656bf3ae0d74bab3beaafb (plain) (blame)
1
2
3
4
5
6
fn main() {
  obj handle(@int i) {
  }
  // This just tests whether the obj leaks its box state members.
  auto ob = handle(0xf00f00);
}