# tests: unions without fields need not store their tag at runtime · gitcafe/zig

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

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

Visibility: public

Requested revision: 2b32c2748e9cb4b6e8b8d6e2e7dbddd48d1c93c5

Requested commit: 2b32c2748e9cb4b6e8b8d6e2e7dbddd48d1c93c5

Commit: 2b32c2748e9cb4b6e8b8d6e2e7dbddd48d1c93c5

Tree: 3a46af9726b9513a7aa2a2625838ac7bb96d1d21

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
tests: unions without fields need not store their tag at runtime

...because the union semantically has no possible value so cannot be
stored to or loaded from memory anyway.

```

## Parents

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

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