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

13 lines
139 B
Rust
Raw Normal View History

use std;
import std::task;
fn f() {
task::unsupervise();
let a = @0;
fail;
}
fn main() {
let g = f;
task::spawn(g);
}