diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-12-29 12:21:31 +0800 |
|---|---|---|
| committer | Joachim Schmidt <joachim.schmidt557@outlook.com> | 2022-12-29 11:12:08 +0100 |
| commit | 1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5 (patch) | |
| tree | 024193b17c0c447172874a360d4fde8a4e10bf67 /test/behavior/switch.zig | |
| parent | 34887cf136878c87357fa0eec52a12db300d8f27 (diff) | |
| download | zig-1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5.tar.gz zig-1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5.zip | |
stage2 AArch64: implement errUnion{Err,Payload} for registers
Diffstat (limited to 'test/behavior/switch.zig')
| -rw-r--r-- | test/behavior/switch.zig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/switch.zig b/test/behavior/switch.zig index a183dc7c3b..3bb9c35a4e 100644 --- a/test/behavior/switch.zig +++ b/test/behavior/switch.zig @@ -390,7 +390,6 @@ fn switchWithUnreachable(x: i32) i32 { } test "capture value of switch with all unreachable prongs" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO const x = return_a_number() catch |err| switch (err) { @@ -494,7 +493,6 @@ test "switch prongs with error set cases make a new error set type for capture v } test "return result loc and then switch with range implicit casted to error union" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO const S = struct { |
