diff options
| author | Robin Voetter <robin@voetter.nl> | 2023-05-20 17:25:17 +0200 |
|---|---|---|
| committer | Ali Chraghi <63465728+alichraghi@users.noreply.github.com> | 2023-05-20 08:48:38 -0700 |
| commit | d7ddaf64a2978d80814ac7f57e3db2d1c6a45c2e (patch) | |
| tree | f323c9076d4cef92c48d25e23ba71f1a3d4c3a1b /test/behavior/enum.zig | |
| parent | fedc9a19e7909694fac107c3da245e08616fd6e4 (diff) | |
| download | zig-d7ddaf64a2978d80814ac7f57e3db2d1c6a45c2e.tar.gz zig-d7ddaf64a2978d80814ac7f57e3db2d1c6a45c2e.zip | |
spirv: don't generate union tag type if it doesnt exist
Previously the tag type was generated even if it was nonexistant,
triggering an assertion that an integer type should never have
zero bits. Now its only generated when the tag type is actually emitted.
Diffstat (limited to 'test/behavior/enum.zig')
0 files changed, 0 insertions, 0 deletions
