summaryrefslogtreecommitdiff
path: root/tests/headers/annotation_hide.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/annotation_hide.hpp')
-rw-r--r--tests/headers/annotation_hide.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/headers/annotation_hide.hpp b/tests/headers/annotation_hide.hpp
new file mode 100644
index 00000000..3c82c9a2
--- /dev/null
+++ b/tests/headers/annotation_hide.hpp
@@ -0,0 +1,16 @@
+
+/**
+ * <div rustbindgen="true" hide="true"></div>
+ */
+struct C;
+
+/**
+ * <div rustbindgen opaque></div>
+ */
+struct D {
+ int a;
+};
+
+struct NotAnnotated {
+ int f;
+};