aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorRobin Voetter <robin@voetter.nl>2023-08-26 11:32:37 +0200
committerAndrew Kelley <andrew@ziglang.org>2023-09-23 12:36:44 -0700
commit79f7481575005f9f63b5b3be8dd89b92b11b9c77 (patch)
treeab44253bc9180d8947322504c78ddc5c91e01b75 /test/behavior/array.zig
parent865b2e259bf78dbf1d4c1051b5fff68b90bca65f (diff)
downloadzig-79f7481575005f9f63b5b3be8dd89b92b11b9c77.tar.gz
zig-79f7481575005f9f63b5b3be8dd89b92b11b9c77.zip
spirv: disable failing tests
Diffstat (limited to 'test/behavior/array.zig')
-rw-r--r--test/behavior/array.zig4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig
index 523855161a..b252265c5b 100644
--- a/test/behavior/array.zig
+++ b/test/behavior/array.zig
@@ -763,6 +763,8 @@ test "slicing array of zero-sized values" {
}
test "array init with no result pointer sets field result types" {
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
+
const S = struct {
// A function parameter has a result type, but no result pointer.
fn f(arr: [1]u32) u32 {
@@ -777,6 +779,8 @@ test "array init with no result pointer sets field result types" {
}
test "runtime side-effects in comptime-known array init" {
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
+
var side_effects: u4 = 0;
const init = [4]u4{
blk: {