rust/src/test/run-pass/unwind-unique.rs

14 lines
154 B
Rust
Raw Normal View History

// xfail-win32
use std;
import std::task;
fn f() {
task::unsupervise();
let a = ~0;
fail;
}
fn main() {
let g = f;
task::spawn(g);
}