diff options
Diffstat (limited to 'tests/ui/deriving/deriving-clone-tuple-struct.rs')
-rw-r--r-- | tests/ui/deriving/deriving-clone-tuple-struct.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/deriving/deriving-clone-tuple-struct.rs b/tests/ui/deriving/deriving-clone-tuple-struct.rs new file mode 100644 index 000000000..7ad3f0347 --- /dev/null +++ b/tests/ui/deriving/deriving-clone-tuple-struct.rs @@ -0,0 +1,9 @@ +// run-pass +// pretty-expanded FIXME #23616 + +#![allow(dead_code)] + +#[derive(Clone)] +struct S((), ()); + +pub fn main() {} |