diff options
| author | Ali Chraghi <alichraghi@proton.me> | 2023-05-15 03:02:11 +0330 |
|---|---|---|
| committer | Ali Chraghi <alichraghi@proton.me> | 2023-05-15 03:04:17 +0330 |
| commit | 9c550721e40f50b2ee44a5b1bf633ebdd50d5fd2 (patch) | |
| tree | b48bc312b807f0ef41adfdc04dbaa8ffb8e47719 /test/behavior/slice.zig | |
| parent | 2ce9122a009efa0a5d2857a0d29ad3d77a81dff1 (diff) | |
| download | zig-9c550721e40f50b2ee44a5b1bf633ebdd50d5fd2.tar.gz zig-9c550721e40f50b2ee44a5b1bf633ebdd50d5fd2.zip | |
spirv: lower float_to_int and int_to_float
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]; |
