summaryrefslogtreecommitdiff
path: root/tests/headers
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers')
-rw-r--r--tests/headers/annotation_hide.hpp5
-rw-r--r--tests/headers/class_nested.hpp6
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/annotation_hide.hpp b/tests/headers/annotation_hide.hpp
new file mode 100644
index 00000000..33bfb353
--- /dev/null
+++ b/tests/headers/annotation_hide.hpp
@@ -0,0 +1,5 @@
+
+/**
+ * <div rustbindgen="true" hide="true"></div>
+ */
+struct C;
diff --git a/tests/headers/class_nested.hpp b/tests/headers/class_nested.hpp
index e9c07d64..05a775b8 100644
--- a/tests/headers/class_nested.hpp
+++ b/tests/headers/class_nested.hpp
@@ -1,7 +1,13 @@
class A {
+public:
int member_a;
class B {
int member_b;
};
};
+A::B var;
+
+class D {
+ A::B member;
+};