diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-16 16:09:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-16 16:09:22 -0700 |
| commit | 958fba0eb715fe9f0b5eddcf53507db03e37ae09 (patch) | |
| tree | 2505c7bdfd50cebb986201271a42899fce12c21c /test/behavior/enum.zig | |
| parent | b754068fbc7492962953068d31386d4c04e37ae5 (diff) | |
| parent | 6fca3f8b72397d62dd7b2d2e07db843c88428ac3 (diff) | |
| download | zig-958fba0eb715fe9f0b5eddcf53507db03e37ae09.tar.gz zig-958fba0eb715fe9f0b5eddcf53507db03e37ae09.zip | |
Merge pull request #15713 from alichraghi/ali-spirv
spirv: get more behavior tests passing
Diffstat (limited to 'test/behavior/enum.zig')
| -rw-r--r-- | test/behavior/enum.zig | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig index a9322ec1b2..097caaad19 100644 --- a/test/behavior/enum.zig +++ b/test/behavior/enum.zig @@ -27,7 +27,6 @@ const IntToEnumNumber = enum { Zero, One, Two, Three, Four }; test "int to enum" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; try testIntToEnumEval(3); } @@ -576,8 +575,6 @@ test "enum literal equality" { } test "enum literal cast to enum" { - if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; - const Color = enum { Auto, Off, On }; var color1: Color = .Auto; @@ -874,8 +871,6 @@ test "switch on enum with one member is comptime-known" { } test "method call on an enum" { - if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; - const S = struct { const E = enum { one, |
