Skip to content

Commit 99a7884

Browse files
committed
behavior: disable test on cbe
This isn't so much a regression as it is foreshadowing of accepted proposal #24657.
1 parent 6576c3b commit 99a7884

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/behavior/union.zig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,13 @@ test "union with specified enum tag" {
218218
}
219219

220220
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
221223
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
222224
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
223225
if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
224226
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
227+
if (builtin.zig_backend == .stage2_c) return error.SkipZigTest;
225228

226229
const U = packed union {
227230
f1: *const fn () error{TestUnexpectedResult}!void,

0 commit comments

Comments
 (0)