]> git.proxmox.com Git - rustc.git/blob - src/test/ui/proc-macro/derive-multiple-with-packed.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / ui / proc-macro / derive-multiple-with-packed.rs
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)]
7 struct CacheRecordHeader {
8 field: u64,
9 }
10
11 fn main() {}