diff options
Diffstat (limited to 'tests/ui/deriving/deriving-clone-array.rs')
-rw-r--r-- | tests/ui/deriving/deriving-clone-array.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/deriving/deriving-clone-array.rs b/tests/ui/deriving/deriving-clone-array.rs new file mode 100644 index 000000000..4569749df --- /dev/null +++ b/tests/ui/deriving/deriving-clone-array.rs @@ -0,0 +1,10 @@ +// run-pass +#![allow(dead_code)] +// test for issue #30244 + +#[derive(Copy, Clone)] +struct Array { + arr: [[u8; 256]; 4] +} + +pub fn main() {} |