summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/class.hpp')
-rw-r--r--tests/headers/class.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/class.hpp b/tests/headers/class.hpp
index 4d795363..a34d4d8e 100644
--- a/tests/headers/class.hpp
+++ b/tests/headers/class.hpp
@@ -9,3 +9,12 @@ class WithDtor {
~WithDtor() {}
};
+
+union Union {
+ float d;
+ int i;
+};
+
+class WithUnion {
+ Union data;
+};