From f8de4db8731e20995d16ec29bc0fb553e7d6f5bf Mon Sep 17 00:00:00 2001 From: Ali Chraghi Date: Mon, 15 May 2023 14:22:40 +0330 Subject: spirv: implement arithmeticTypeInfo for Enum (`@intToEnum`) --- test/behavior/enum.zig | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test/behavior/enum.zig') 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, -- cgit v1.2.3