rust/src/test/run-pass/issue-2930.rs
2012-10-15 15:35:36 -07:00

12 lines
174 B
Rust

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