summaryrefslogtreecommitdiff
path: root/tests/headers/class_with_inner_struct.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/class_with_inner_struct.hpp')
-rw-r--r--tests/headers/class_with_inner_struct.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/headers/class_with_inner_struct.hpp b/tests/headers/class_with_inner_struct.hpp
index 40199ccc..5f57a1c0 100644
--- a/tests/headers/class_with_inner_struct.hpp
+++ b/tests/headers/class_with_inner_struct.hpp
@@ -1,6 +1,12 @@
class A {
unsigned c;
struct Segment { int begin, end; };
+ union {
+ int f;
+ } named_union;
+ union {
+ int d;
+ };
};
class B {