1 // bindgen-flags: --blocklist-type BlocklistMe --raw-line 'pub struct BlocklistMe(u8);' 2 3 // Note that we do not explicitly provide the `--with-derive-default` flag 4 // above, since it is added by the test runner implicitly. 5 6 struct BlocklistMe {}; 7 8 /** 9 * Because this type contains a blocklisted type, it should not derive 10 * Default. Instead, we should emit a `mem::zeroed` implementation. 11 */ 12 struct ShouldNotDeriveDefault { 13 BlocklistMe a; 14 }; 15