mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 06:13:07 +00:00
langref: work around s390x LLVM compilation crash in test_defining_variadic_function
https://github.com/ziglang/zig/issues/21350#issuecomment-3543006475
This commit is contained in:
parent
4dd05b5a64
commit
c82884542f
@ -22,6 +22,10 @@ test "defining a variadic function" {
|
|||||||
// https://github.com/ziglang/zig/issues/16961
|
// https://github.com/ziglang/zig/issues/16961
|
||||||
return error.SkipZigTest;
|
return error.SkipZigTest;
|
||||||
}
|
}
|
||||||
|
if (builtin.cpu.arch == .s390x) {
|
||||||
|
// https://github.com/ziglang/zig/issues/21350#issuecomment-3543006475
|
||||||
|
return error.SkipZigTest;
|
||||||
|
}
|
||||||
|
|
||||||
try std.testing.expectEqual(@as(c_int, 0), add(0));
|
try std.testing.expectEqual(@as(c_int, 0), add(0));
|
||||||
try std.testing.expectEqual(@as(c_int, 1), add(1, @as(c_int, 1)));
|
try std.testing.expectEqual(@as(c_int, 1), add(1, @as(c_int, 1)));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user