rust/src/test/run-pass/task-comm-11.rs
Brian Anderson 07732545d2 Add xfail-stage3 directives to tests
The new test runners run stage 3
2011-07-22 10:18:28 -07:00

16 lines
255 B
Rust

// xfail-stage0
// xfail-stage1
// xfail-stage2
// xfail-stage3
fn start(chan[chan[str]] c) {
let port[str] p = port();
c <| chan(p);
}
fn main() {
let port[chan[str]] p = port();
auto child = spawn start(chan(p));
auto c; p |> c;
}