diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-16 16:09:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-16 16:09:22 -0700 |
| commit | 958fba0eb715fe9f0b5eddcf53507db03e37ae09 (patch) | |
| tree | 2505c7bdfd50cebb986201271a42899fce12c21c /test/behavior/slice.zig | |
| parent | b754068fbc7492962953068d31386d4c04e37ae5 (diff) | |
| parent | 6fca3f8b72397d62dd7b2d2e07db843c88428ac3 (diff) | |
| download | zig-958fba0eb715fe9f0b5eddcf53507db03e37ae09.tar.gz zig-958fba0eb715fe9f0b5eddcf53507db03e37ae09.zip | |
Merge pull request #15713 from alichraghi/ali-spirv
spirv: get more behavior tests passing
Diffstat (limited to 'test/behavior/slice.zig')
| -rw-r--r-- | test/behavior/slice.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig index 79fa3b9ce7..3b88636dca 100644 --- a/test/behavior/slice.zig +++ b/test/behavior/slice.zig @@ -186,6 +186,8 @@ test "slicing zero length array" { test "slicing pointer by length" { if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; + const array = [_]u8{ 1, 2, 3, 4, 5, 6, 7, 8 }; const ptr: [*]const u8 = @ptrCast([*]const u8, &array); const slice = ptr[1..][0..5]; |
