diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2022-12-18 01:25:19 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2022-12-18 02:17:11 -0500 |
| commit | e0bc5f65b98d154b4318027d56f780b55605e33c (patch) | |
| tree | cc75a53ed2774ae1556f0f0d5a16c2b60b9eb32a /lib/std/array_hash_map.zig | |
| parent | 0ccdc511cebfa3db1dfcbd05fe849843da117657 (diff) | |
| download | zig-e0bc5f65b98d154b4318027d56f780b55605e33c.tar.gz zig-e0bc5f65b98d154b4318027d56f780b55605e33c.zip | |
llvm: fix lowering pointer to final zero-width field of a comptime value
* Handle a `null` return from `llvmFieldIndex`.
* Add a behavior test to test this code path.
* Reword this test name, which incorrectly described how pointers to
zero-bit fields behave, and instead describe the actual test.
Diffstat (limited to 'lib/std/array_hash_map.zig')
0 files changed, 0 insertions, 0 deletions
