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

10 lines
138 B
Rust
Raw Normal View History

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