Skip to content

Commit f7b6794

Browse files
committed
Add another testcase for #910
1 parent 01ea880 commit f7b6794

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// error-pattern:quux
2+
// xfail-test
3+
4+
resource faily_box(_i: @int) {
5+
// What happens to the box pointer owned by this resource?
6+
fail "quux";
7+
}
8+
9+
fn main() {
10+
faily_box(@10);
11+
}

0 commit comments

Comments
 (0)