blob: 7a2b7505d5ae8aa9c322aaa05c7d88cc5f72bdbd [file] [log] [blame]
// bindgen-flags: --blacklist-type BlacklistMe --raw-line 'pub struct BlacklistMe(u8);'
// Note that we do not explicitly provide the `--with-derive-default` flag
// above, since it is added by the test runner implicitly.
struct BlacklistMe {};
/**
* Because this type contains a blacklisted type, it should not derive
* Default. Instead, we should emit a `mem::zeroed` implementation.
*/
struct ShouldNotDeriveDefault {
BlacklistMe a;
};