]> git.proxmox.com Git - rustc.git/blame - src/test/ui/proc-macro/derive-multiple-with-packed.rs
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / proc-macro / derive-multiple-with-packed.rs
CommitLineData
6a06907d
XL
1// check-pass
2
3#[derive(Clone, Copy)]
4#[derive(Debug)] // OK, even if `Copy` is in the different `#[derive]`
5#[derive(PartialEq)] // OK too
6#[repr(packed)]
7struct CacheRecordHeader {
8 field: u64,
9}
10
11fn main() {}