diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-02-26 18:01:12 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-02-26 20:59:23 -0700 |
| commit | 32e89a98d82c0f4505a3f3d4cd72e7db2eadfbb9 (patch) | |
| tree | ad3f28c440c3ff6e1ad5cfd5bb05a867331e4b0e /test/behavior | |
| parent | e999a925fade363886538722df7605b01da220d1 (diff) | |
| download | zig-32e89a98d82c0f4505a3f3d4cd72e7db2eadfbb9.tar.gz zig-32e89a98d82c0f4505a3f3d4cd72e7db2eadfbb9.zip | |
Sema: implement union value equality at comptime
Still TODO is extern unions.
Diffstat (limited to 'test/behavior')
| -rw-r--r-- | test/behavior/union.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/union.zig b/test/behavior/union.zig index af61044b33..be288ee740 100644 --- a/test/behavior/union.zig +++ b/test/behavior/union.zig @@ -723,8 +723,6 @@ test "@enumToInt works on unions" { } test "comptime union field value equality" { - if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO - const a0 = Setter(Attribute{ .A = false }); const a1 = Setter(Attribute{ .A = true }); const a2 = Setter(Attribute{ .A = false }); |
