aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors/compile_time_undef_ptr_cast.zig
AgeCommit message (Collapse)Author
2025-03-29compiler: "illegal behavior", not "undefined behavior", in errorsmlugg
2025-02-15x86_64: implement error set and enum safetyJacob Young
This is all of the expected 0.14.0 progress on #21530, which can now be postponed once this commit is merged. This required rewriting the (un)wrap operations since the original implementations were extremely buggy. Also adds an easy way to retrigger Sema OPV bugs so that I don't have to keep updating #22419 all the time.
2023-11-19test: update cases to silence 'var is never mutated' errorsmlugg
2023-06-24all: migrate code to new cast builtin syntaxmlugg
Most of this migration was performed automatically with `zig fmt`. There were a few exceptions which I had to manually fix: * `@alignCast` and `@addrSpaceCast` cannot be automatically rewritten * `@truncate`'s fixup is incorrect for vectors * Test cases are not formatted, and their error locations change
2022-08-10stage2: add compile error for invalid null/undefined pointer castInKryption