summaryrefslogtreecommitdiff
path: root/tests/headers/union_dtor.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/union_dtor.hpp')
-rw-r--r--tests/headers/union_dtor.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/union_dtor.hpp b/tests/headers/union_dtor.hpp
new file mode 100644
index 00000000..399dc89d
--- /dev/null
+++ b/tests/headers/union_dtor.hpp
@@ -0,0 +1,5 @@
+union UnionWithDtor {
+ ~UnionWithDtor();
+ int mFoo;
+ void* mBar;
+};