diff options
Diffstat (limited to 'tests/ui/deriving/issue-6341.rs')
-rw-r--r-- | tests/ui/deriving/issue-6341.rs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/deriving/issue-6341.rs b/tests/ui/deriving/issue-6341.rs new file mode 100644 index 000000000..1be1394df --- /dev/null +++ b/tests/ui/deriving/issue-6341.rs @@ -0,0 +1,11 @@ +// check-pass +// pretty-expanded FIXME #23616 + +#[derive(PartialEq)] +struct A { x: usize } + +impl Drop for A { + fn drop(&mut self) {} +} + +pub fn main() {} |