1 // Adaptation of existing ui test (from way back in
2 // rust-lang/rust#2329), that starts passing with this feature in
7 use std::sync::mpsc::channel;
10 let (tx, rx) = channel();
12 tx.send(false).unwrap();
13 tx.send(false).unwrap();
15 Some(z) if z.recv().unwrap() => { panic!() },
16 Some(z) => { assert!(!z.recv().unwrap()); },