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_nesting.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/headers/struct_with_nesting.h (limited to 'tests/headers/struct_with_nesting.h') diff --git a/tests/headers/struct_with_nesting.h b/tests/headers/struct_with_nesting.h new file mode 100644 index 00000000..9d7fa176 --- /dev/null +++ b/tests/headers/struct_with_nesting.h @@ -0,0 +1,17 @@ +struct foo { + unsigned int a; + union { + unsigned int b; + struct { + unsigned short c1; + unsigned short c2; + }; + + struct { + unsigned char d1; + unsigned char d2; + unsigned char d3; + unsigned char d4; + }; + }; +}; -- cgit v1.2.3