1 // bindgen-flags: --rust-target 1.21 2 // 3 // FIXME: https://github.com/rust-lang/rust-bindgen/issues/1498 4 5 struct header 6 { 7 char proto; 8 unsigned int size __attribute__ ((packed)); 9 unsigned char data[] __attribute__ ((aligned(8))); 10 } __attribute__ ((aligned, packed)); 11