stage2: miscompilation w/ pointers to zero sized types #13363
Labels
bug
Observed behavior contradicts documented or intended behavior
frontend
Tokenization, parsing, AstGen, Sema, and Liveness.
miscompilation
The compiler reports success but produces semantically incorrect code.
Milestone
Zig Version
0.10.0-dev.4711+2b25d3c33
Steps to Reproduce and Observed Behavior
run this code:
output:
expected ab.A@5a405ffca8, found ab.A@5a405ffca9
Expected Behavior
per #6706 I would expect
a_ptr
to point toa
.The text was updated successfully, but these errors were encountered: