aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/math.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-05 01:58:44 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-05 04:38:25 -0400
commit54b2d6f072bde7f85c44bbcc4795bd980d79d45e (patch)
tree11fb8283d25a1175895233332720cf68504f2544 /test/behavior/math.zig
parentcc6694a323950d53e79afc76ba5a8000386f555b (diff)
downloadzig-54b2d6f072bde7f85c44bbcc4795bd980d79d45e.tar.gz
zig-54b2d6f072bde7f85c44bbcc4795bd980d79d45e.zip
x86_64: implement C abi for everything else
Diffstat (limited to 'test/behavior/math.zig')
-rw-r--r--test/behavior/math.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/math.zig b/test/behavior/math.zig
index b122a31ba4..8b2447ba37 100644
--- a/test/behavior/math.zig
+++ b/test/behavior/math.zig
@@ -1538,9 +1538,9 @@ test "NaN comparison" {
test "NaN comparison f80" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_x86_64) 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 and builtin.target.ofmt != .elf) return error.SkipZigTest;
try testNanEqNan(f80);
try comptime testNanEqNan(f80);