20 lines
322 B
Rust
20 lines
322 B
Rust
// 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(args: ~[~str]) {
|
|
//os::getenv("FOO");
|
|
rendezvous();
|
|
} |