2 #![allow(unused_variables)]
3 static mut DROP: bool = false;
6 impl ::std::ops::Deref for ConnWrap {
8 fn deref(&self) -> &Conn { &self.0 }
13 fn drop(&mut self) { unsafe { DROP = true; } }
17 let conn = &*match Some(ConnWrap(Conn)) {
27 assert_eq!(DROP, true);