Skip to content

Commit

Permalink
Add another testcase for #910
Browse files Browse the repository at this point in the history
  • Loading branch information
jruderman committed Sep 21, 2011
1 parent 01ea880 commit f7b6794
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/test/run-fail/unwind-resource-fail3.rs
Original file line number Diff line number Diff line change
@@ -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);
}

0 comments on commit f7b6794

Please sign in to comment.