summaryrefslogtreecommitdiffstats
path: root/tests/ui/deriving/deriving-clone-generic-tuple-struct.rs
blob: 3480ccc10899e8848c8923f01223b9da75716a64 (plain)
1
2
3
4
5
6
7
8
9
10
// run-pass
// pretty-expanded FIXME #23616

#[derive(Clone)]
#[allow(unused_tuple_struct_fields)]
struct S<T>(T, ());

pub fn main() {
    let _ = S(1, ()).clone();
}