aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-04-24 21:39:03 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-04-25 11:23:41 -0700
commit792bbfa301436fc0ce31bc4072b4765ba1408a55 (patch)
tree4e249d92a5ab600e4ba67893e10ce392b7e506cb /test/behavior/basic.zig
parent5378fdffdcc60a5273021bc9cfc5be917e87c992 (diff)
downloadzig-792bbfa301436fc0ce31bc4072b4765ba1408a55.tar.gz
zig-792bbfa301436fc0ce31bc4072b4765ba1408a55.zip
Sema: fix memcpy alias safety incorrect math
Previously it was not multiplying by the element ABI size. Now, it uses ptr_add instructions which do math based on the element type.
Diffstat (limited to 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions