aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/obj-drop.rs
blob: 107e669386a9514fd14e3d0fe2f97719372ac5e9 (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);
}