summaryrefslogtreecommitdiff
path: root/tests/headers/class_with_inner_struct.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-03-23 02:25:15 +0100
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-03-23 02:25:15 +0100
commit08b0b5e67a0976368395515e8a9f700e67758a43 (patch)
treec89cd1daa94f6c8394ea2d193f1523276218a322 /tests/headers/class_with_inner_struct.hpp
parent106583a3efc016ce65535bc311c60d2a90499ac5 (diff)
gen: Mangle inner struct names, and don't generate a field for them
The field generation was plain incorrect
Diffstat (limited to 'tests/headers/class_with_inner_struct.hpp')
-rw-r--r--tests/headers/class_with_inner_struct.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/class_with_inner_struct.hpp b/tests/headers/class_with_inner_struct.hpp
new file mode 100644
index 00000000..40199ccc
--- /dev/null
+++ b/tests/headers/class_with_inner_struct.hpp
@@ -0,0 +1,9 @@
+class A {
+ unsigned c;
+ struct Segment { int begin, end; };
+};
+
+class B {
+ unsigned d;
+ struct Segment { int begin, end; };
+};