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