diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-08-10 19:45:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-10 19:45:16 +0200 |
| commit | 6bb6013d3a4da18ca79c5d4d882920cc147520bf (patch) | |
| tree | 8ddc329028ab11506fc22fd9a9a673243e26628a /test/behavior/array.zig | |
| parent | 298328581534de4b7cb984f7d5e8a5c4080a881c (diff) | |
| parent | 64563e2fffd0e304019c343a32f31c925be20ea2 (diff) | |
| download | zig-6bb6013d3a4da18ca79c5d4d882920cc147520bf.tar.gz zig-6bb6013d3a4da18ca79c5d4d882920cc147520bf.zip | |
Merge pull request #24768 from alichraghi/spv5
spirv: remove prune_unused ISel
Diffstat (limited to 'test/behavior/array.zig')
| -rw-r--r-- | test/behavior/array.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/array.zig b/test/behavior/array.zig index 1eb4c12cbf..2e776d4653 100644 --- a/test/behavior/array.zig +++ b/test/behavior/array.zig @@ -1088,6 +1088,8 @@ test "pass pointer to empty array initializer to anytype parameter" { } test "initialize pointer to anyopaque with reference to empty array initializer" { + if (builtin.zig_backend == .stage2_spirv) return error.SkipZigTest; + const ptr: *const anyopaque = &.{}; // The above acts like an untyped initializer, since the `.{}` has no result type. // So, `ptr` points in memory to an empty tuple (`@TypeOf(.{})`). |
