aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/try.zig
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-03-05 11:31:51 +0100
committerjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-03-05 11:31:51 +0100
commita06e9eca45f72b28ed9ca00da5c9562e969cc84d (patch)
treeeebd5b573c86e1ec206e5a57328c3649a05002e0 /test/behavior/try.zig
parented7e2938ff2385d658f04248f1c757b324009be4 (diff)
downloadzig-a06e9eca45f72b28ed9ca00da5c9562e969cc84d.tar.gz
zig-a06e9eca45f72b28ed9ca00da5c9562e969cc84d.zip
stage2 AArch64: add more slice support
* airSlice * airArrayToSlice * and initial support for airSlicePtr and co
Diffstat (limited to 'test/behavior/try.zig')
-rw-r--r--test/behavior/try.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behavior/try.zig b/test/behavior/try.zig
index f2a836e182..b0559d4549 100644
--- a/test/behavior/try.zig
+++ b/test/behavior/try.zig
@@ -24,8 +24,6 @@ fn returnsTen() anyerror!i32 {
}
test "try without vars" {
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
-
const result1 = if (failIfTrue(true)) 1 else |_| @as(i32, 2);
try expect(result1 == 2);
@@ -42,8 +40,6 @@ fn failIfTrue(ok: bool) anyerror!void {
}
test "try then not executed with assignment" {
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
-
if (failIfTrue(true)) {
unreachable;
} else |err| {