rust/src/test/run-pass/task-comm-chan-cleanup.rs

8 lines
118 B
Rust

use std;
import comm;
fn main() {
let p = comm::port();
let c = comm::chan(p);
comm::send(c, "coffee");
}