summary refs log tree commit diff
path: root/src/test/run-pass/issue-2930.rs
blob: 98cfaded04a985cd1c52cf1252ead72fc4a9ffc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
proto! stream (
    stream:send<T:Send> {
        send(T) -> stream<T>
    }
)

fn main() {
    let (bc, _bp) = stream::init();

    stream::client::send(bc, ~"abc");
}