diff options
Diffstat (limited to 'bindgen-tests/tests/headers/union_fields.hpp')
-rw-r--r-- | bindgen-tests/tests/headers/union_fields.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bindgen-tests/tests/headers/union_fields.hpp b/bindgen-tests/tests/headers/union_fields.hpp new file mode 100644 index 00000000..7bb2a3ce --- /dev/null +++ b/bindgen-tests/tests/headers/union_fields.hpp @@ -0,0 +1,7 @@ +// bindgen-flags: --with-derive-hash --with-derive-partialeq --with-derive-eq +// +typedef union { + int mInt; + float mFloat; + void* mPointer; +} nsStyleUnion; |