2011-09-23 16:58:06 -05:00
|
|
|
// xfail-win32
|
|
|
|
use std;
|
|
|
|
import std::task;
|
|
|
|
|
2011-10-13 17:37:07 -05:00
|
|
|
fn# f(&&_i: ()) {
|
2011-09-23 16:58:06 -05:00
|
|
|
task::unsupervise();
|
|
|
|
let a = ~0;
|
|
|
|
fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2011-10-13 17:37:07 -05:00
|
|
|
task::spawn2((), f);
|
2011-09-23 16:58:06 -05:00
|
|
|
}
|