2011-09-23 16:58:06 -05:00
|
|
|
// xfail-win32
|
|
|
|
use std;
|
2011-12-13 18:25:51 -06:00
|
|
|
import task;
|
2011-09-23 16:58:06 -05:00
|
|
|
|
2011-10-20 22:34:04 -05:00
|
|
|
fn f(&&_i: ()) {
|
2011-09-23 16:58:06 -05:00
|
|
|
task::unsupervise();
|
|
|
|
let a = ~0;
|
|
|
|
fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2011-10-13 23:23:07 -05:00
|
|
|
task::spawn((), f);
|
2011-09-23 16:58:06 -05:00
|
|
|
}
|