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 22:11:26 -0500 |
| commit | e96f65db7735ef80e19253ec25a1ce31751650f1 (patch) | |
| tree | 3356db8e593d43749b7ed2278ea1687428146ff8 /src/InternPool.zig | |
| parent | aca9c74e80e106309b9783ff251ab0cdd3fb9626 (diff) | |
| download | zig-e96f65db7735ef80e19253ec25a1ce31751650f1.tar.gz zig-e96f65db7735ef80e19253ec25a1ce31751650f1.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 'src/InternPool.zig')
0 files changed, 0 insertions, 0 deletions
