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
|
|
|
|
2012-01-04 23:14:53 -06:00
|
|
|
fn f() {
|
2011-09-23 16:58:06 -05:00
|
|
|
task::unsupervise();
|
|
|
|
let a = ~0;
|
|
|
|
fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2012-01-04 23:14:53 -06:00
|
|
|
task::spawn {|| f(); };
|
2011-09-23 16:58:06 -05:00
|
|
|
}
|