]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/derive-multiple-with-packed.rs
Rollup merge of #106701 - ibraheemdev:sync-sender-spin, r=Amanieu
[rust.git] / tests / 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() {}