blob: c7eeec2e5480ac8fb70fd43750940b991033953e [file]
// error-pattern:quux
// xfail-test
class faily_box {
let i: @int;
new(i: @int) { self.i = i; }
// What happens to the box pointer owned by this class?
drop { fail "quux"; }
}
fn main() {
faily_box(@10);
}