9 lines
130 B
Rust
9 lines
130 B
Rust
|
use std;
|
||
|
import std::comm;
|
||
|
|
||
|
#[test]
|
||
|
fn create_port_and_chan() {
|
||
|
let p = comm::mk_port[int]();
|
||
|
let c = comm::mk_chan(p);
|
||
|
}
|