diff options
| author | Robin Voetter <robin@voetter.nl> | 2024-01-13 18:44:44 +0100 |
|---|---|---|
| committer | Robin Voetter <robin@voetter.nl> | 2024-02-04 19:09:33 +0100 |
| commit | 9fbba0e01a5e89ce4b4be940539b6b05a7fb3931 (patch) | |
| tree | 1d2fb941e27f7b6cfe7b541407b0971daf051d0e /test/behavior/pub_enum.zig | |
| parent | 1d548aa2aab472f14013e67e29c6d898a7b31998 (diff) | |
| download | zig-9fbba0e01a5e89ce4b4be940539b6b05a7fb3931.tar.gz zig-9fbba0e01a5e89ce4b4be940539b6b05a7fb3931.zip | |
spirv: update tests
Diffstat (limited to 'test/behavior/pub_enum.zig')
| -rw-r--r-- | test/behavior/pub_enum.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/pub_enum.zig b/test/behavior/pub_enum.zig index e17546157d..c0935b78be 100644 --- a/test/behavior/pub_enum.zig +++ b/test/behavior/pub_enum.zig @@ -3,6 +3,8 @@ const other = @import("pub_enum/other.zig"); const expect = @import("std").testing.expect; test "pub enum" { + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; + try pubEnumTest(other.APubEnum.Two); } fn pubEnumTest(foo: other.APubEnum) !void { @@ -10,5 +12,7 @@ fn pubEnumTest(foo: other.APubEnum) !void { } test "cast with imported symbol" { + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; + try expect(@as(other.size_t, 42) == 42); } |
