diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-12-27 21:17:52 +0800 |
|---|---|---|
| committer | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2022-12-27 21:17:52 +0800 |
| commit | d6e6162081ca853c8f3cf293b559e4e6d7d2a917 (patch) | |
| tree | b8ea0706ce77f0bb9200f8b37862bf388df3d037 /test/behavior/slice.zig | |
| parent | 1b86a628acef7bc180ea6cbe6e4930710e5dff97 (diff) | |
| download | zig-d6e6162081ca853c8f3cf293b559e4e6d7d2a917.tar.gz zig-d6e6162081ca853c8f3cf293b559e4e6d7d2a917.zip | |
stage2 AArch64: unify callee-preserved regs on all targets
also enables many passing behavior tests
Diffstat (limited to 'test/behavior/slice.zig')
| -rw-r--r-- | test/behavior/slice.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index 9842b908c6..416423e9cc 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -28,7 +28,6 @@ comptime { } test "slicing" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO var array: [20]i32 = undefined; @@ -64,7 +63,6 @@ test "comptime slice of undefined pointer of length 0" { } test "implicitly cast array of size 0 to slice" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO var msg = [_]u8{}; @@ -121,7 +119,6 @@ test "slice of type" { } test "generic malloc free" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO @@ -233,7 +230,6 @@ fn sliceFromLenToLen(a_slice: []u8, start: usize, end: usize) []u8 { } test "C pointer" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO var buf: [*c]const u8 = "kjdhfkjdhfdkjhfkfjhdfkjdhfkdjhfdkjhf"; @@ -288,7 +284,6 @@ test "slice type with custom alignment" { } test "obtaining a null terminated slice" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO // here we have a normal array @@ -590,7 +585,6 @@ test "array mult of slice gives ptr to array" { } test "slice bounds in comptime concatenation" { - if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO const bs = comptime blk: { |
