20 lines
223 B
Rust
20 lines
223 B
Rust
// xfail-win32
|
|
use std;
|
|
import task;
|
|
import comm;
|
|
|
|
class complainer {
|
|
let c: @int;
|
|
new(c: @int) { self.c = c; }
|
|
drop {}
|
|
}
|
|
|
|
fn f() {
|
|
let c <- complainer(@0);
|
|
fail;
|
|
}
|
|
|
|
fn main() {
|
|
task::spawn_unlinked(f);
|
|
}
|