2 #![allow(unused_braces)]
3 #![allow(non_camel_case_types)]
5 #[derive(Copy, Clone, Debug)]
8 impl PartialEq for chan {
9 fn eq(&self, other: &chan) -> bool {
10 ((*self) as usize) == ((*other) as usize)
12 fn ne(&self, other: &chan) -> bool { !(*self).eq(other) }
15 fn wrapper3(i: chan) {
16 assert_eq!(i, chan::chan_t);
20 let wrapped = {||wrapper3(chan::chan_t)};