aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-12-29 12:21:31 +0800
committerJoachim Schmidt <joachim.schmidt557@outlook.com>2022-12-29 11:12:08 +0100
commit1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5 (patch)
tree024193b17c0c447172874a360d4fde8a4e10bf67 /test/behavior/error.zig
parent34887cf136878c87357fa0eec52a12db300d8f27 (diff)
downloadzig-1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5.tar.gz
zig-1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5.zip
stage2 AArch64: implement errUnion{Err,Payload} for registers
Diffstat (limited to 'test/behavior/error.zig')
-rw-r--r--test/behavior/error.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/error.zig b/test/behavior/error.zig
index 459799f5f6..f33c641873 100644
--- a/test/behavior/error.zig
+++ b/test/behavior/error.zig
@@ -60,7 +60,6 @@ pub fn baz() anyerror!i32 {
}
test "error wrapping" {
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
try expect((baz() catch unreachable) == 15);
@@ -100,7 +99,6 @@ test "syntax: optional operator in front of error union operator" {
test "widen cast integer payload of error union function call" {
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const S = struct {
@@ -715,7 +713,6 @@ test "ret_ptr doesn't cause own inferred error set to be resolved" {
}
test "simple else prong allowed even when all errors handled" {
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO