blob: c7eeec2e5480ac8fb70fd43750940b991033953e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// 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);
}
|