aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/struct.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/struct.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/struct.zig')
-rw-r--r--test/behavior/struct.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/struct.zig b/test/behavior/struct.zig
index 2a1acebc0f..b250b5b087 100644
--- a/test/behavior/struct.zig
+++ b/test/behavior/struct.zig
@@ -1149,7 +1149,6 @@ test "anon init through error unions and optionals" {
}
test "anon init through optional" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
@@ -1456,7 +1455,6 @@ test "struct has only one reference" {
test "no dependency loop on pointer to optional struct" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
const S = struct {
const A = struct { b: B };
@@ -1509,7 +1507,6 @@ test "no dependency loop on optional field wrapped in generic function" {
}
test "optional field init with tuple" {
- if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO