summaryrefslogtreecommitdiff
path: root/tests/headers/class.hpp
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-16 03:38:33 +0200
committerEmilio Cobos Álvarez <me@emiliocobos.me>2016-04-16 03:38:33 +0200
commit3cf04d17d85b5766d7c120a4ee6ce97598b38ec7 (patch)
treef0183d87062927d19b929ca2b9df0d1b0450d006 /tests/headers/class.hpp
parent0aef5b97160a64e421df7185917f33b643abff8a (diff)
tests: Annotate and add more tests
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;
+};