| ... | @@ -375,6 +375,12 @@ test "testHash struct" { | ... | @@ -375,6 +375,12 @@ test "testHash struct" { |
| 375 | } | 375 | } |
| 376 | | 376 | |
| 377 | test "testHash union" { | 377 | test "testHash union" { |
| | 378 | const builtin = @import("builtin"); |
| | 379 | if (builtin.zig_backend == .stage2_llvm and builtin.mode == .ReleaseSafe) { |
| | 380 | // https://github.com/ziglang/zig/issues/12178 |
| | 381 | return error.SkipZigTest; |
| | 382 | } |
| | 383 | |
| 378 | const Foo = union(enum) { | 384 | const Foo = union(enum) { |
| 379 | A: u32, | 385 | A: u32, |
| 380 | B: bool, | 386 | B: bool, |