From 99a7884308d288bd39df9192c9094439b179ff60 Mon Sep 17 00:00:00 2001 From: Matthew Lugg Date: Fri, 31 Oct 2025 13:50:29 +0000 Subject: [PATCH] behavior: disable test on cbe This isn't so much a regression as it is foreshadowing of accepted proposal https://github.com/ziglang/zig/issues/24657. --- test/behavior/union.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/behavior/union.zig b/test/behavior/union.zig index 27663feeb6..11356c09b7 100644 --- a/test/behavior/union.zig +++ b/test/behavior/union.zig @@ -218,10 +218,13 @@ test "union with specified enum tag" { } test "packed union generates correctly aligned type" { + // This test will be removed after the following accepted proposal is implemented: + // https://github.com/ziglang/zig/issues/24657 if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; const U = packed union { f1: *const fn () error{TestUnexpectedResult}!void,