summary refs log tree commit diff
path: root/src/test/run-pass/issue-2834.rs
blob: b61169ee5f6d6fc40f763098152c7475a5bb4dbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Test case for issue #2843.
//

proto! streamp (
    open:send<T: Send> {
        data(T) -> open<T>
    }
)

fn rendezvous() {
    let (c, s) = streamp::init();
    let streams: ~[streamp::client::open<int>] = ~[c];

    error!("%?", streams[0]);
}

fn main() {
    //os::getenv("FOO");
    rendezvous();
}