# Preserve packed attribute in C translated struct \(\#4085\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 9390e8b84883331757d3ce15cfca89279aceb090

Requested commit: 9390e8b84883331757d3ce15cfca89279aceb090

Commit: 9390e8b84883331757d3ce15cfca89279aceb090

Tree: 3856b6a33a8343dd9048fa8edcf7c44aac7ba6f3

Author: via

Committer: Andrew Kelley

## Message

```
Preserve packed attribute in C translated struct (#4085)

* Preserve packed attribute in C translated struct

* Add tests for packed C struct
```

## Parents

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

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