summaryrefslogtreecommitdiff
path: root/bindgen-tests/tests/headers/struct_containing_forward_declared_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindgen-tests/tests/headers/struct_containing_forward_declared_struct.h')
-rw-r--r--bindgen-tests/tests/headers/struct_containing_forward_declared_struct.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/struct_containing_forward_declared_struct.h b/bindgen-tests/tests/headers/struct_containing_forward_declared_struct.h
new file mode 100644
index 00000000..cf7cb5c4
--- /dev/null
+++ b/bindgen-tests/tests/headers/struct_containing_forward_declared_struct.h
@@ -0,0 +1,8 @@
+// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
+struct a {
+ struct b* val_a;
+};
+
+struct b {
+ int val_b;
+};