summaryrefslogtreecommitdiffstats
path: root/src/test/ui/deriving/issue-6341.rs
blob: 1be1394dfae98e791a9d43719f0366bebd8ac2a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
// pretty-expanded FIXME #23616

#[derive(PartialEq)]
struct A { x: usize }

impl Drop for A {
    fn drop(&mut self) {}
}

pub fn main() {}