# add generics behavior test · gitcafe/zig

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

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

Visibility: public

Requested revision: cf99afc52568ab121db2db8aa3ba94b97109f396

Requested commit: cf99afc52568ab121db2db8aa3ba94b97109f396

Commit: cf99afc52568ab121db2db8aa3ba94b97109f396

Tree: e7ed54a202c88c7a04753b24850308768d12dac8

Author: drew

Committer: Andrew Kelley

## Message

```
add generics behavior test

-airLoad and airStore now properly report an error if they are used with an array, instead of having the C compiler emit a vague error
-airStoreUndefined now works with array types
-structFieldPtr now works with array types, allowing generics' tests to pass

```

## Parents

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

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