Skip to content

Commit ea8dc83

Browse files
committed
behavior: work around LLVM bug
See #18034
1 parent b1e71ff commit ea8dc83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/behavior/align.zig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,10 @@ test "comptime alloc alignment" {
581581
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
582582
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
583583
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
584+
if (builtin.zig_backend == .stage2_llvm and builtin.target.cpu.arch == .x86) {
585+
// https://github.com/ziglang/zig/issues/18034
586+
return error.SkipZigTest;
587+
}
584588

585589
comptime var bytes1 = [_]u8{0};
586590
_ = &bytes1;

0 commit comments

Comments
 (0)