2 #![allow(unused_must_use)]
4 #![allow(non_camel_case_types)]
6 // pretty-expanded FIXME #23616
7 // ignore-emscripten no threads support
10 use std::sync::mpsc::channel;
20 fn test(f: isize) -> test {
27 let (tx, rx) = channel();
29 let t = thread::spawn(move|| {
30 let (tx2, rx2) = channel();
31 tx.send(tx2).unwrap();
33 let _r = rx2.recv().unwrap();
36 rx.recv().unwrap().send(test(42)).unwrap();