mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
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.
This commit is contained in:
parent
6576c3b898
commit
99a7884308
@ -218,10 +218,13 @@ test "union with specified enum tag" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
test "packed union generates correctly aligned type" {
|
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_arm) return error.SkipZigTest;
|
||||||
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
|
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
|
||||||
if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
|
if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest;
|
||||||
if (builtin.zig_backend == .stage2_riscv64) 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 {
|
const U = packed union {
|
||||||
f1: *const fn () error{TestUnexpectedResult}!void,
|
f1: *const fn () error{TestUnexpectedResult}!void,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user