1 2 3 4 5 6 7 8 9 10 11 12
// check-pass #![deny(unused_attributes)] #[repr(C)] #[repr(packed)] pub struct Foo; #[repr(packed)] #[repr(C)] pub struct Bar; fn main() { }