]>
git.proxmox.com Git - rustc.git/blob - src/test/run-pass/threads-sendsync/task-comm-chan-nil.rs
3 use std
::sync
::mpsc
::channel
;
5 // rustboot can't transmit nils across channels because they don't have
6 // any size, but rustc currently can because they do have size. Whether
7 // or not this is desirable I don't know, but here's a regression test.
9 let (tx
, rx
) = channel();
11 let n
: () = rx
.recv().unwrap();