summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/nested.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/nested.hpp')
-rw-r--r--libbindgen/tests/headers/nested.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/nested.hpp b/libbindgen/tests/headers/nested.hpp
new file mode 100644
index 00000000..299e1768
--- /dev/null
+++ b/libbindgen/tests/headers/nested.hpp
@@ -0,0 +1,15 @@
+
+class Calc {
+ int w;
+};
+
+class Test {
+public:
+ struct Size;
+ friend struct Size;
+ struct Size {
+ struct Dimension : public Calc {
+ };
+ Dimension mWidth, mHeight;
+ };
+};