summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/struct_with_anon_struct_array.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/struct_with_anon_struct_array.h')
-rw-r--r--bindgen-tests/tests/headers/struct_with_anon_struct_array.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/struct_with_anon_struct_array.h b/bindgen-tests/tests/headers/struct_with_anon_struct_array.h
new file mode 100644
index 00000000..94a8ea0a
--- /dev/null
+++ b/bindgen-tests/tests/headers/struct_with_anon_struct_array.h
@@ -0,0 +1,12 @@
+// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
+//
+struct foo {
+ struct {
+ int a;
+ int b;
+ } bar[2];
+ struct {
+ int a;
+ int b;
+ } baz[2][3][4];
+};