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