summaryrefslogtreecommitdiff
path: root/tests/headers/opaque_in_struct.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/opaque_in_struct.hpp')
-rw-r--r--tests/headers/opaque_in_struct.hpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/headers/opaque_in_struct.hpp b/tests/headers/opaque_in_struct.hpp
new file mode 100644
index 00000000..3cffeb20
--- /dev/null
+++ b/tests/headers/opaque_in_struct.hpp
@@ -0,0 +1,10 @@
+
+
+/** <div rustbindgen opaque> */
+typedef struct opaque {
+ int waht;
+} opaque;
+
+struct container {
+ opaque contained;
+};