MultiArrayList can have unexpected results when combining zero sized fields and optional pointers #12781
Labels
backend-llvm
The LLVM backend outputs an LLVM IR Module.
bug
Observed behavior contradicts documented or intended behavior
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone
Zig Version
0.10.0-dev.3885+a7661f115d
Steps to Reproduce
test.zig
Expected Behavior
All tests pass. We take a pointer to an existing value in the
values
slices of the list. We store then store this non null pointer in an optional pointer.Actual Behavior
The text was updated successfully, but these errors were encountered: