aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2022-02-27 19:15:32 -0800
committerAndrew Kelley <andrew@ziglang.org>2022-02-28 20:42:13 -0700
commitea00e500457231083263302cc6972998a1a92910 (patch)
tree858e2531b7d6eb6a83c910b3de5f73d0056460b3 /test/behavior/error.zig
parent0eb3cb9e8cd263172fec797ed916aade3e5404f0 (diff)
downloadzig-ea00e500457231083263302cc6972998a1a92910.tar.gz
zig-ea00e500457231083263302cc6972998a1a92910.zip
stage2: skip error union test on native
Diffstat (limited to 'test/behavior/error.zig')
-rw-r--r--test/behavior/error.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/behavior/error.zig b/test/behavior/error.zig
index 04989388e5..582a11ebc4 100644
--- a/test/behavior/error.zig
+++ b/test/behavior/error.zig
@@ -264,6 +264,12 @@ fn testErrToIntWithOnePossibleValue(
}
test "error union peer type resolution" {
+ if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
+ if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
+
try testErrorUnionPeerTypeResolution(1);
}