diff options
| author | David Rubin <daviru007@icloud.com> | 2024-05-12 11:01:23 -0700 |
|---|---|---|
| committer | David Rubin <daviru007@icloud.com> | 2024-06-13 02:22:04 -0700 |
| commit | b67995689df424a0cab9186fcaf7b09bb04ffc1a (patch) | |
| tree | f5a860913a7133af62a18339a3f437c4c5dbb67b /test/behavior/slice.zig | |
| parent | b2cb090c3790dd10a784f9e291230cf6052b514c (diff) | |
| download | zig-b67995689df424a0cab9186fcaf7b09bb04ffc1a.tar.gz zig-b67995689df424a0cab9186fcaf7b09bb04ffc1a.zip | |
riscv: add `airAggregateInit` for arrays
Diffstat (limited to 'test/behavior/slice.zig')
| -rw-r--r-- | test/behavior/slice.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index 97b6e88f27..606f6db9a3 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -185,8 +185,6 @@ test "slicing zero length array" { } test "slicing pointer by length" { - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; - const array = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 }; const ptr: [*]const u8 = @as([*]const u8, @ptrCast(&array)); const slice = ptr[1..][0..5]; @@ -306,7 +304,6 @@ test "slice type with custom alignment" { test "obtaining a null terminated slice" { if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; // here we have a normal array var buf: [50]u8 = undefined; @@ -772,7 +769,6 @@ test "slice sentinel access at comptime" { test "slicing array with sentinel as end index" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO - if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest; const S = struct { fn do() !void { |
