From b83da2729fc83663f979da05201920e039ae3c3f Mon Sep 17 00:00:00 2001 From: Emilio Cobos Álvarez Date: Sun, 22 Jan 2017 12:58:12 +0100 Subject: Unify under the `bindgen` name. --- tests/headers/struct_with_bitfields.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/headers/struct_with_bitfields.h (limited to 'tests/headers/struct_with_bitfields.h') diff --git a/tests/headers/struct_with_bitfields.h b/tests/headers/struct_with_bitfields.h new file mode 100644 index 00000000..107fb136 --- /dev/null +++ b/tests/headers/struct_with_bitfields.h @@ -0,0 +1,13 @@ +// bindgen-flags: --no-unstable-rust +struct bitfield { + unsigned short + a :1, + b :1, + c :1, + :1, + :2, + d :2; + int e; + unsigned int f : 2; + unsigned int g : 32; +}; -- cgit v1.2.3