summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/struct_containing_forward_declared_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/struct_containing_forward_declared_struct.h')
-rw-r--r--libbindgen/tests/headers/struct_containing_forward_declared_struct.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/struct_containing_forward_declared_struct.h b/libbindgen/tests/headers/struct_containing_forward_declared_struct.h
new file mode 100644
index 00000000..d38aca2f
--- /dev/null
+++ b/libbindgen/tests/headers/struct_containing_forward_declared_struct.h
@@ -0,0 +1,7 @@
+struct a {
+ struct b* val_a;
+};
+
+struct b {
+ int val_b;
+};