diff options
| author | David Rubin <daviru007@icloud.com> | 2024-05-27 01:43:37 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-06-13 02:24:39 -0700 |
| commit | 4fd8900337f363c87b916e3a96004f8f35845549 (patch) | |
| tree | 8366bb95ee83b325ba0f2e687d7cd16f39709743 /test/behavior/basic.zig | |
| parent | a9ef0169432a6709ca59588050be703ab1a10357 (diff) | |
| download | zig-4fd8900337f363c87b916e3a96004f8f35845549.tar.gz zig-4fd8900337f363c87b916e3a96004f8f35845549.zip | |
riscv: rewrite "binOp"
Reorganize how the binOp and genBinOp functions work.
I've spent quite a while here reading exactly through the spec and so many
tests are enabled because of several critical issues the old design had.
There are some regressions that will take a long time to figure out individually
so I will ignore them for now, and pray they get fixed by themselves. When
we're closer to 100% passing is when I will start diving into them one-by-one.
Diffstat (limited to 'test/behavior/basic.zig')
| -rw-r--r-- | test/behavior/basic.zig | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index 0262b59bde..fb61247b11 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -709,7 +709,6 @@ test "result location is optional inside error union" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const x = maybe(true) catch unreachable; try expect(x.? == 42); @@ -1091,8 +1090,6 @@ test "orelse coercion as function argument" { } test "runtime-known globals initialized with undefined" { - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; - const S = struct { var array: [10]u32 = [_]u32{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }; var vp: [*]u32 = undefined; |
