// -*- rust -*- fn main() { let port[int] po = port(); let chan[int] ch = chan(po); ch <| 10; let int i <- po; assert (i == 10); ch <| 11; auto j <- po; assert (j == 11); }