diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-05 01:58:44 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2023-10-05 04:38:25 -0400 |
| commit | 54b2d6f072bde7f85c44bbcc4795bd980d79d45e (patch) | |
| tree | 11fb8283d25a1175895233332720cf68504f2544 /test/behavior/floatop.zig | |
| parent | cc6694a323950d53e79afc76ba5a8000386f555b (diff) | |
| download | zig-54b2d6f072bde7f85c44bbcc4795bd980d79d45e.tar.gz zig-54b2d6f072bde7f85c44bbcc4795bd980d79d45e.zip | |
x86_64: implement C abi for everything else
Diffstat (limited to 'test/behavior/floatop.zig')
| -rw-r--r-- | test/behavior/floatop.zig | 2 |
1 files changed, 1 insertions, 1 deletions
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))); |
