diff options
Diffstat (limited to 'tests/headers/no-derive-default.h')
-rw-r--r-- | tests/headers/no-derive-default.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/headers/no-derive-default.h b/tests/headers/no-derive-default.h deleted file mode 100644 index d184ee3a..00000000 --- a/tests/headers/no-derive-default.h +++ /dev/null @@ -1,15 +0,0 @@ -// 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, }" - -struct foo { - int bar; -}; - -/** - * bar should compile. It will normally derive default, but our blocklist of foo - * and replacement for another type that doesn't implement it would prevent it - * from building if --no-derive-default didn't work. - */ -struct bar { - struct foo foo; - int baz; -}; |