2011-07-20 21:37:09 -05:00
|
|
|
// xfail-stage3
|
2011-07-12 17:27:17 -05:00
|
|
|
|
2011-07-27 07:19:39 -05:00
|
|
|
fn start(c: chan[chan[str]]) { let p: port[str] = port(); c <| chan(p); }
|
2010-08-11 17:05:33 -05:00
|
|
|
|
2011-04-19 15:35:49 -05:00
|
|
|
fn main() {
|
2011-07-27 07:19:39 -05:00
|
|
|
let p: port[chan[str]] = port();
|
|
|
|
let child = spawn start(chan(p));
|
|
|
|
let c;
|
|
|
|
p |> c;
|
|
|
|
}
|