aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/bugs/11165.zig
AgeCommit message (Collapse)Author
2024-01-06categorize `behavior/bugs/<issueno>.zig` testsVeikka Tuominen
2023-11-19test: update behavior to silence 'var is never mutated' errorsmlugg
2023-09-23spirv: enable passing testsRobin Voetter
2023-05-11setup spirv backend in behavior testsAli Chraghi
2022-12-10stage2: sparc64: Skip unimplemented testsKoakuma
2022-09-12remove pointless discardsAndrew Kelley
2022-06-25stage2 ARM: implement basic intCast and error union wrappingjoachimschmidt557
2022-05-27stage2 AArch64: complete genTypedValuejoachimschmidt557
2022-03-14stage2: apply fix for #11165 to codegen.zig for native backendsMitchell Hashimoto
Co-authored-by: Cody Tapscott <topolarity@tapscott.me>
2022-03-14stage2: LLVM codegen of arrays should use type length, not value lengthMitchell Hashimoto
It is possible for the value length to be longer than the type because we allow in-memory coercing of types such as `[5:0]u8` to `[5]u8`. In such a case, the value length is 6 but the type length if 5. The `.repeated` value type already got this right, so this is extending similar logic out to `.aggregate` and `.bytes`. Both scenarios are tested in behavior tests. Fixes #11165