From 54b2d6f072bde7f85c44bbcc4795bd980d79d45e Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Thu, 5 Oct 2023 01:58:44 -0400 Subject: x86_64: implement C abi for everything else --- test/behavior/floatop.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/behavior/floatop.zig') diff --git a/test/behavior/floatop.zig b/test/behavior/floatop.zig index 7dc5e53595..f9624880d9 100644 --- a/test/behavior/floatop.zig +++ b/test/behavior/floatop.zig @@ -1379,7 +1379,7 @@ test "comptime fixed-width float zero divided by zero produces NaN" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf) return error.SkipZigTest; inline for (.{ f16, f32, f64, f80, f128 }) |F| { try expect(math.isNan(@as(F, 0) / @as(F, 0))); -- cgit v1.2.3