98b07ddc82
Closes #2120.
18 lines
250 B
Rust
18 lines
250 B
Rust
// xfail-win32
|
|
use std;
|
|
import task;
|
|
import comm;
|
|
|
|
resource complainer(c: @int) {
|
|
}
|
|
|
|
fn f() {
|
|
let c <- complainer(@0);
|
|
fail;
|
|
}
|
|
|
|
fn main() {
|
|
let builder = task::builder();
|
|
task::unsupervise(builder);
|
|
task::run(builder) {|| f(); }
|
|
} |