2011-09-09 15:25:06 -05:00
|
|
|
// xfail-win32
|
2011-09-07 19:01:24 -05:00
|
|
|
use std;
|
2011-12-13 18:25:51 -06:00
|
|
|
import task;
|
|
|
|
import comm;
|
2011-09-07 19:01:24 -05:00
|
|
|
|
2012-06-01 16:48:02 -05:00
|
|
|
class complainer {
|
|
|
|
let c: @int;
|
|
|
|
new(c: @int) { self.c = c; }
|
|
|
|
drop {}
|
2011-09-07 19:01:24 -05:00
|
|
|
}
|
|
|
|
|
2012-01-04 23:14:53 -06:00
|
|
|
fn f() {
|
2011-09-07 19:01:24 -05:00
|
|
|
let c <- complainer(@0);
|
|
|
|
fail;
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
2012-07-23 14:53:18 -05:00
|
|
|
task::spawn_unlinked(f);
|
|
|
|
}
|