aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/switch_prong_err_enum.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behavior/switch_prong_err_enum.zig')
-rw-r--r--test/behavior/switch_prong_err_enum.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/switch_prong_err_enum.zig b/test/behavior/switch_prong_err_enum.zig
index 36076df9cd..ddcc76634e 100644
--- a/test/behavior/switch_prong_err_enum.zig
+++ b/test/behavior/switch_prong_err_enum.zig
@@ -24,6 +24,8 @@ test "switch prong returns error enum" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
+
switch (doThing(17) catch unreachable) {
FormValue.Address => |payload| {
try expect(payload == 1);