// run-pass #![allow(dead_code)] struct S { x: T } impl ::std::ops::Drop for S { fn drop(&mut self) { println!("bye"); } } pub fn main() { let _x = S { x: 1 }; }