aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/if.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2023-03-19 06:49:50 -0400
committerJakub Konka <kubkon@jakubkonka.com>2023-03-21 08:49:54 +0100
commitf95faac5aeeebe0b77ff7023513cdd3e34b71de1 (patch)
tree77b8094d7da9c171dc29794fa2640e86c11e18bc /test/behavior/if.zig
parent24f0900ecba3ea67b7c6df31836ed40de22b7ab8 (diff)
downloadzig-f95faac5aeeebe0b77ff7023513cdd3e34b71de1.tar.gz
zig-f95faac5aeeebe0b77ff7023513cdd3e34b71de1.zip
x86_64: (re)implement optional ops
Note that this commit also changes the layout of optional for all other backends using `src/codegen.zig` without updating them!
Diffstat (limited to 'test/behavior/if.zig')
-rw-r--r--test/behavior/if.zig1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/behavior/if.zig b/test/behavior/if.zig
index 6632cdd5c2..948629038b 100644
--- a/test/behavior/if.zig
+++ b/test/behavior/if.zig
@@ -130,7 +130,6 @@ test "if peer expressions inferred optional type" {
}
test "if-else expression with runtime condition result location is inferred optional" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO