# Sema: disallow empty extern/packed unions · gitcafe/zig

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

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

Visibility: public

Requested revision: c9ba213da76af1bfec8f712ca86712e54ea05f12

Requested commit: c9ba213da76af1bfec8f712ca86712e54ea05f12

Commit: c9ba213da76af1bfec8f712ca86712e54ea05f12

Tree: 3539b5604933c061e176b7606c2dc0a0d514f34f

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
Sema: disallow empty extern/packed unions

These types don't really make much sense: you can't pack together bits
of a type which cannot exist, nor can you pass it over an ABI boundary.

```

## Parents

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

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