summaryrefslogtreecommitdiff
path: root/tests/headers/union_template.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/union_template.hpp')
-rw-r--r--tests/headers/union_template.hpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/headers/union_template.hpp b/tests/headers/union_template.hpp
deleted file mode 100644
index 8b57f5a0..00000000
--- a/tests/headers/union_template.hpp
+++ /dev/null
@@ -1,21 +0,0 @@
-// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq
-//
-template<typename T>
-struct NastyStruct {
- bool mIsSome;
- union {
- void* mFoo;
- unsigned long mDummy;
- } mStorage;
-
- union {
- short wat;
- int* wut;
- };
-};
-
-template<typename T>
-union Whatever {
- void* mTPtr;
- int mInt;
-};