1 2 3 4 5 6 7 8 9
//@ run-pass #[derive(Clone)] #[allow(dead_code)] struct S<T>(T, ()); pub fn main() { let _ = S(1, ()).clone(); }