aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorDavid Rubin <daviru007@icloud.com>2024-04-28 22:22:26 -0700
committerDavid Rubin <daviru007@icloud.com>2024-06-13 02:19:40 -0700
commitc457f35da565e589071db9e55d0866f35cd095dc (patch)
tree45994b3380f17d187f65ed08a61bda4cfa99cac1 /test/behavior/array.zig
parentf34dcd067b6e9783a53f007746309bb1f635fbf0 (diff)
downloadzig-c457f35da565e589071db9e55d0866f35cd095dc.tar.gz
zig-c457f35da565e589071db9e55d0866f35cd095dc.zip
riscv: arbitrary sized arrays
Diffstat (limited to 'test/behavior/array.zig')
-rw-r--r--test/behavior/array.zig4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig
index 49a03c05e2..a99b10cd3b 100644
--- a/test/behavior/array.zig
+++ b/test/behavior/array.zig
@@ -231,7 +231,6 @@ test "nested arrays of integers" {
test "implicit comptime in array type size" {
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;
var arr: [plusOne(10)]bool = undefined;
_ = &arr;
@@ -505,7 +504,6 @@ test "anonymous literal in array" {
test "access the null element of a null terminated array" {
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 doTheTest() !void {
@@ -778,8 +776,6 @@ test "slicing array of zero-sized values" {
}
test "array init with no result pointer sets field result types" {
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
-
const S = struct {
// A function parameter has a result type, but no result pointer.
fn f(arr: [1]u32) u32 {