rust/src/test/run-pass/unwind-unique.rs
2012-07-01 19:19:32 -07:00

14 lines
189 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() );
}