We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01ea880 commit f7b6794Copy full SHA for f7b6794
src/test/run-fail/unwind-resource-fail3.rs
@@ -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