686d6a485f
Issue #1022
17 lines
217 B
Rust
17 lines
217 B
Rust
// xfail-win32
|
|
use std;
|
|
import std::task;
|
|
import std::comm;
|
|
|
|
resource complainer(c: @int) {
|
|
}
|
|
|
|
fn# f(&&_i: ()) {
|
|
task::unsupervise();
|
|
let c <- complainer(@0);
|
|
fail;
|
|
}
|
|
|
|
fn main() {
|
|
task::spawn((), f);
|
|
} |