aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2022-05-24 19:23:33 +0200
committerAndrew Kelley <andrew@ziglang.org>2022-05-24 15:34:52 -0700
commit8c49420928b29271429cc09b5d5f1447a942f8d6 (patch)
treea6dfcb22fb8d86ba4159ed12491a67cc065e9b61 /test/behavior/error.zig
parentc043d57cabdc4db20a55a9877ec607c81d15442f (diff)
downloadzig-8c49420928b29271429cc09b5d5f1447a942f8d6.tar.gz
zig-8c49420928b29271429cc09b5d5f1447a942f8d6.zip
aarch64: update for new error union layout
Diffstat (limited to 'test/behavior/error.zig')
-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 18cfb03457..230c2540dc 100644
--- a/test/behavior/error.zig
+++ b/test/behavior/error.zig
@@ -440,6 +440,8 @@ test "return function call to error set from error union function" {
}
test "optional error set is the same size as error set" {
+ if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
+
comptime try expect(@sizeOf(?anyerror) == @sizeOf(anyerror));
comptime try expect(@alignOf(?anyerror) == @alignOf(anyerror));
const S = struct {