aboutsummaryrefslogtreecommitdiff
path: root/test/behavior
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-05-18 16:35:37 -0400
committerGitHub <noreply@github.com>2022-05-18 16:35:37 -0400
commit50a5ddecc54b88cf295fb97b47fecd2a29a1bf8e (patch)
tree8d0e18dbcae16beb12d0362318168f9e02a3239a /test/behavior
parent8660661af4626c4bd589e6c6331a6ac786143f12 (diff)
parent77d732a85f863d5bdafb060151429b18459a2021 (diff)
downloadzig-50a5ddecc54b88cf295fb97b47fecd2a29a1bf8e.tar.gz
zig-50a5ddecc54b88cf295fb97b47fecd2a29a1bf8e.zip
Merge pull request #11635 from wsengir/stage2-errsetcast-safety
stage2: `@errSetCast` safety
Diffstat (limited to 'test/behavior')
-rw-r--r--test/behavior/error.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/error.zig b/test/behavior/error.zig
index 9a2a1352d8..ada0f3bbf1 100644
--- a/test/behavior/error.zig
+++ b/test/behavior/error.zig
@@ -202,6 +202,8 @@ fn testErrorSetType() !void {
test "explicit error set cast" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
try testExplicitErrorSetCast(Set1.A);
comptime try testExplicitErrorSetCast(Set1.A);