2012-07-09 12:36:57 -07:00
|
|
|
// Test case for issue #2843.
|
|
|
|
//
|
|
|
|
// xfail-test
|
|
|
|
|
2012-08-22 18:10:48 -07:00
|
|
|
proto! streamp (
|
2012-07-09 12:36:57 -07:00
|
|
|
open:send<T: send> {
|
|
|
|
data(T) -> open<T>
|
|
|
|
}
|
2012-08-22 18:10:48 -07:00
|
|
|
)
|
2012-07-09 12:36:57 -07:00
|
|
|
|
|
|
|
fn rendezvous() {
|
|
|
|
let (c, s) = streamp::init();
|
|
|
|
let streams: ~[streamp::client::open<int>] = ~[c];
|
|
|
|
|
2012-08-22 17:24:52 -07:00
|
|
|
error!("%?", streams[0]);
|
2012-07-09 12:36:57 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
fn main(args: ~[str]) {
|
|
|
|
//os::getenv("FOO");
|
|
|
|
rendezvous();
|
|
|
|
}
|