diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-13 17:09:21 -0500 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2025-02-15 03:45:21 -0500 |
| commit | 8159ff8b811a1621674b0f00a01b5a92698af8f9 (patch) | |
| tree | 273c5d568004ec6d40e0d35919ddf81533e54dcd /test/cases/compile_errors/packed_struct_backing_int_wrong.zig | |
| parent | 5ab5113077bf82237978168b32e2b549a4a71feb (diff) | |
| download | zig-8159ff8b811a1621674b0f00a01b5a92698af8f9.tar.gz zig-8159ff8b811a1621674b0f00a01b5a92698af8f9.zip | |
x86_64: implement error set and enum safety
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.
Diffstat (limited to 'test/cases/compile_errors/packed_struct_backing_int_wrong.zig')
| -rw-r--r-- | test/cases/compile_errors/packed_struct_backing_int_wrong.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cases/compile_errors/packed_struct_backing_int_wrong.zig b/test/cases/compile_errors/packed_struct_backing_int_wrong.zig index cd1b4ec11c..71f77209ad 100644 --- a/test/cases/compile_errors/packed_struct_backing_int_wrong.zig +++ b/test/cases/compile_errors/packed_struct_backing_int_wrong.zig @@ -43,7 +43,7 @@ export fn entry7() void { } // error -// backend=llvm +// backend=stage2 // target=native // // :2:31: error: backing integer type 'u32' has bit size 32 but the struct fields have a total bit size of 29 |
