diff options
Diffstat (limited to 'bindgen-tests/tests/headers/struct_with_packing.h')
-rw-r--r-- | bindgen-tests/tests/headers/struct_with_packing.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/struct_with_packing.h b/bindgen-tests/tests/headers/struct_with_packing.h new file mode 100644 index 00000000..9ed50317 --- /dev/null +++ b/bindgen-tests/tests/headers/struct_with_packing.h @@ -0,0 +1,6 @@ +// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq +// +struct a { + char b; + short c; +} __attribute__((packed)); |