2011-09-09 13:25:06 -07:00
|
|
|
// xfail-win32
|
2011-09-07 17:01:24 -07:00
|
|
|
use std;
|
2011-12-13 16:25:51 -08:00
|
|
|
import task;
|
2011-09-07 17:01:24 -07:00
|
|
|
|
2012-01-04 21:14:53 -08:00
|
|
|
fn f() {
|
2011-09-07 17:01:24 -07:00
|
|
|
let a = @0;
|
|
|
|
fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2012-02-18 16:34:42 -08:00
|
|
|
let builder = task::mk_task_builder();
|
|
|
|
task::unsupervise(builder);
|
|
|
|
task::run(builder) {|| f(); }
|
2011-09-07 17:01:24 -07:00
|
|
|
}
|