summaryrefslogtreecommitdiffstats
path: root/src/test/ui/derives/derive-multiple-with-packed.rs
blob: e762ee357caab43d205b27bba89a16fccd924de3 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

#[derive(Clone, Copy)]
#[derive(Debug)] // OK, even if `Copy` is in the different `#[derive]`
#[repr(packed)]
struct CacheRecordHeader {
    field: u64,
}

fn main() {}