aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/pub_enum.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behavior/pub_enum.zig')
-rw-r--r--test/behavior/pub_enum.zig4
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);
}