Add another testcase for #910

This commit is contained in:
Jesse Ruderman 2011-09-20 20:00:34 -07:00
parent 01ea880196
commit f7b67944cd

View File

@ -0,0 +1,11 @@
// error-pattern:quux
// xfail-test
resource faily_box(_i: @int) {
// What happens to the box pointer owned by this resource?
fail "quux";
}
fn main() {
faily_box(@10);
}