# fix incorrect LLVM IR for union constant when active field is void · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/5ebed1c9eeff6a190ff3d603bc6c680d4b920bd8)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 5ebed1c9eeff6a190ff3d603bc6c680d4b920bd8

Requested commit: 5ebed1c9eeff6a190ff3d603bc6c680d4b920bd8

Commit: 5ebed1c9eeff6a190ff3d603bc6c680d4b920bd8

Tree: 31d134d2a539a3fe866e8b4b90fbf06028fa6d5b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix incorrect LLVM IR for union constant when active field is void

found in the llvm6 branch with llvm assertions on

```

## Parents

- [a966275e509670e750ef54a37f7202078aa4cf07](https://git.cafe/gitcafe/zig/commit/a966275e509670e750ef54a37f7202078aa4cf07?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/5ebed1c9eeff6a190ff3d603bc6c680d4b920bd8?format=markdown)
