aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/tuple.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-10-19 02:08:34 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2023-10-21 10:55:41 -0400
commit2e6e39a7004dae626ad3088cbf1e652f157e6db8 (patch)
tree5f166132424d3da5d6e372ce836f7dbdc2e75987 /test/behavior/tuple.zig
parentc880644d929ff8e403494ff7e6e347b4857db263 (diff)
downloadzig-2e6e39a7004dae626ad3088cbf1e652f157e6db8.tar.gz
zig-2e6e39a7004dae626ad3088cbf1e652f157e6db8.zip
x86_64: fix bugs and disable erroring tests
Diffstat (limited to 'test/behavior/tuple.zig')
-rw-r--r--test/behavior/tuple.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/tuple.zig b/test/behavior/tuple.zig
index 8580123a6e..63e2cde46e 100644
--- a/test/behavior/tuple.zig
+++ b/test/behavior/tuple.zig
@@ -370,8 +370,8 @@ test "tuple initialized with a runtime known value" {
test "tuple of struct concatenation and coercion to array" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_x86_64 and builtin.target.ofmt != .elf) return error.SkipZigTest;
const StructWithDefault = struct { value: f32 = 42 };
const SomeStruct = struct { array: [4]StructWithDefault };