rust/src/test/run-pass/issue-2930.rs

12 lines
169 B
Rust

proto! stream (
stream:send<T:Send> {
send(T) -> stream<T>
}
)
fn main() {
let (bc, _bp) = stream::init();
stream::client::send(bc, ~"abc");
}