2011-09-09 15:25:06 -05:00
|
|
|
// xfail-win32
|
2011-09-07 19:01:24 -05:00
|
|
|
use std;
|
|
|
|
import std::task;
|
|
|
|
import std::comm;
|
|
|
|
|
|
|
|
resource complainer(c: @int) {
|
|
|
|
}
|
|
|
|
|
2011-10-13 17:37:07 -05:00
|
|
|
fn# f(&&_i: ()) {
|
2011-09-07 19:01:24 -05:00
|
|
|
task::unsupervise();
|
|
|
|
let c <- complainer(@0);
|
|
|
|
fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2011-10-13 23:23:07 -05:00
|
|
|
task::spawn((), f);
|
2011-09-07 19:01:24 -05:00
|
|
|
}
|