rust/src/test/run-pass/issue-2930.rs
2012-08-23 11:14:15 -07:00

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");
}