Skip to content

Commit 274c970

Browse files
committed
Test for #1374
1 parent 5ee89f3 commit 274c970

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// xfail-win32
2+
fn adder(+x: @int, +y: @int) -> int { ret *x + *y; }
3+
fn failer() -> @int { fail; }
4+
fn main() {
5+
assert(result::failure(task::try {||
6+
adder(@2, failer()); ()
7+
}));
8+
}
9+

0 commit comments

Comments
 (0)