aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/slice.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-05-19 11:23:22 +0200
committerRobin Voetter <robin@voetter.nl>2023-05-20 17:30:22 +0200
commit37aa343079d32db96be742c9740f343ff8d2839e (patch)
tree2581c5c6e0925534ecf8aebe686535628b4b3d34 /test/behavior/slice.zig
parent2f28713bd7c8eefd90d59d69a0786ee3f12400e1 (diff)
downloadzig-37aa343079d32db96be742c9740f343ff8d2839e.tar.gz
zig-37aa343079d32db96be742c9740f343ff8d2839e.zip
spirv: more passing tests
Diffstat (limited to 'test/behavior/slice.zig')
-rw-r--r--test/behavior/slice.zig2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/behavior/slice.zig b/test/behavior/slice.zig
index 3b88636dca..dc27328e6d 100644
--- a/test/behavior/slice.zig
+++ b/test/behavior/slice.zig
@@ -201,8 +201,6 @@ test "slicing pointer by length" {
const x = @intToPtr([*]i32, 0x1000)[0..0x500];
const y = x[0x100..];
test "compile time slice of pointer to hard coded address" {
- if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
-
try expect(@ptrToInt(x) == 0x1000);
try expect(x.len == 0x500);