rust/src/test/run-pass/unwind-box.rs
2012-04-05 14:09:32 -07:00

14 lines
190 B
Rust

// xfail-win32
use std;
import task;
fn f() {
let a = @0;
fail;
}
fn main() {
let builder = task::builder();
task::unsupervise(builder);
task::run(builder) {|| f(); }
}