1// bindgen-flags: --no-derive-default --blocklist-type foo --raw-line "#[repr(C)] #[derive(Copy, Clone, Debug)] pub struct foo { bar: ::std::os::raw::c_int, }"
2
3struct foo {
4  int bar;
5};
6
7/**
8 * bar should compile. It will normally derive default, but our blocklist of foo
9 * and replacement for another type that doesn't implement it would prevent it
10 * from building if --no-derive-default didn't work.
11 */
12struct bar {
13  struct foo foo;
14  int baz;
15};
16