aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/while.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/while.zig
parent34887cf136878c87357fa0eec52a12db300d8f27 (diff)
downloadzig-1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5.tar.gz
zig-1caf56c5fbbb10fa28f8bf204d073983ce2a6dd5.zip
stage2 AArch64: implement errUnion{Err,Payload} for registers
Diffstat (limited to 'test/behavior/while.zig')
-rw-r--r--test/behavior/while.zig3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/while.zig b/test/behavior/while.zig
index 394ce17564..6a97f96763 100644
--- a/test/behavior/while.zig
+++ b/test/behavior/while.zig
@@ -175,7 +175,6 @@ test "while with optional as condition with else" {
test "while with error union condition" {
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
numbers_left = 10;
@@ -258,7 +257,6 @@ fn returnWithImplicitCastFromWhileLoopTest() anyerror!void {
}
test "while on error union with else result follow else prong" {
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const result = while (returnError()) |value| {
@@ -268,7 +266,6 @@ test "while on error union with else result follow else prong" {
}
test "while on error union with else result follow break prong" {
- if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
const result = while (returnSuccess(10)) |value| {