spirv: disable new behavior tests that do not pass

Some new behavior tests have recently been added, and not all of these
pass with the SPIR-V backend.
This commit is contained in:
Robin Voetter
2023-07-01 14:30:32 +02:00
parent aa398034eb
commit 073289d0da
6 changed files with 13 additions and 0 deletions
+2
View File
@@ -1199,6 +1199,8 @@ test "enum tag from a local variable" {
}
test "auto-numbered enum with signed tag type" {
if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const E = enum(i32) { a, b };
try std.testing.expectEqual(@as(i32, 0), @intFromEnum(E.a));