be9fe24220
Curiously, because of some unfortunate interaction between win32 hacks, all the run-fail unwind tests actually pass (that wouldn't be the case if we were valgrinding though).
18 lines
219 B
Rust
18 lines
219 B
Rust
// xfail-win32
|
|
use std;
|
|
import std::task;
|
|
import std::comm;
|
|
|
|
resource complainer(c: @int) {
|
|
}
|
|
|
|
fn f() {
|
|
task::unsupervise();
|
|
let c <- complainer(@0);
|
|
fail;
|
|
}
|
|
|
|
fn main() {
|
|
let g = f;
|
|
task::spawn(g);
|
|
} |