1// bindgen-flags: --no-derive-debug --blocklist-type foo --raw-line "#[repr(C)] #[derive(Copy, Clone, Default)] 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 debug, 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-debug didn't work.
11 */
12struct bar {
13  struct foo foo;
14  int baz;
15};
16