| ... | @@ -218,10 +218,13 @@ test "union with specified enum tag" { | ... | @@ -218,10 +218,13 @@ test "union with specified enum tag" { |
| 218 | } | 218 | } |
| 219 | | 219 | |
| 220 | test "packed union generates correctly aligned type" { | 220 | test "packed union generates correctly aligned type" { |
| | 221 | // This test will be removed after the following accepted proposal is implemented: |
| | 222 | // https://github.com/ziglang/zig/issues/24657 |
| 221 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; | 223 | if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; |
| 222 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO | 224 | if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO |
| 223 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; | 225 | if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; |
| 224 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; | 226 | if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; |
| | 227 | if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; |
| 225 | | 228 | |
| 226 | const U = packed union { | 229 | const U = packed union { |
| 227 | f1: *const fn () error{TestUnexpectedResult}!void, | 230 | f1: *const fn () error{TestUnexpectedResult}!void, |