diff options
author | Patrick Marks <pmarks@gmail.com> | 2019-07-23 13:09:45 -0700 |
---|---|---|
committer | Emilio Cobos Álvarez <emilio@crisal.io> | 2019-07-23 22:09:45 +0200 |
commit | 9fe3e909bea3cc24759148f27d03772a479c6ecf (patch) | |
tree | 66a3fb524323eaee49dc36aeb080070cf1b9f101 /tests/headers/empty-union.hpp | |
parent | 281b62e07786915a040f8a3b4352b8c7b96132cf (diff) |
Don't emit #[repr(align(0))] for empty unions (#1595)
Diffstat (limited to 'tests/headers/empty-union.hpp')
-rw-r--r-- | tests/headers/empty-union.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/headers/empty-union.hpp b/tests/headers/empty-union.hpp new file mode 100644 index 00000000..3b067e39 --- /dev/null +++ b/tests/headers/empty-union.hpp @@ -0,0 +1,5 @@ +// bindgen-flags: --opaque-type "*" + +template <int> class a { + union {}; +}; |