aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/switch_prong_err_enum.zig
diff options
context:
space:
mode:
authorKoakuma <koachan@protonmail.com>2022-10-11 20:39:47 +0700
committerKoakuma <koachan@protonmail.com>2022-12-10 21:51:46 +0700
commitf9e9ba784f508e1b571a2fb64b55ad58c6ec74c8 (patch)
treededdee21dd753a5651d630160a008a7b51355e52 /test/behavior/switch_prong_err_enum.zig
parent644593ab18a2150a5b412d586fde2fcfbb1461ea (diff)
downloadzig-f9e9ba784f508e1b571a2fb64b55ad58c6ec74c8.tar.gz
zig-f9e9ba784f508e1b571a2fb64b55ad58c6ec74c8.zip
stage2: sparc64: Skip unimplemented tests
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);