aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/error.zig
diff options
context:
space:
mode:
authorAli Chraghi <alichraghi@proton.me>2024-02-08 02:02:33 +0330
committerAli Chraghi <alichraghi@proton.me>2024-02-09 09:27:08 +0330
commit37b0aa600ad47872d3a03f9e9fb60316fc3587c5 (patch)
treef10a2241876fdd27135a62a6112d0d98d0a5f8ef /test/behavior/error.zig
parenteb2d61d02e503f01070c05e2e1fc87e827124d94 (diff)
downloadzig-37b0aa600ad47872d3a03f9e9fb60316fc3587c5.tar.gz
zig-37b0aa600ad47872d3a03f9e9fb60316fc3587c5.zip
spirv: make rusticl the primary testing implementation
Diffstat (limited to 'test/behavior/error.zig')
-rw-r--r--test/behavior/error.zig2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/behavior/error.zig b/test/behavior/error.zig
index 8e4dd2c091..4b8b69192e 100644
--- a/test/behavior/error.zig
+++ b/test/behavior/error.zig
@@ -124,6 +124,7 @@ test "debug info for optional error set" {
test "implicit cast to optional to error union to return result loc" {
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest;
const S = struct {
fn entry() !void {
@@ -950,6 +951,7 @@ test "returning an error union containing a type with no runtime bits" {
test "try used in recursive function with inferred error set" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO
+ if (builtin.zig_backend == .stage2_spirv64) return error.SkipZigTest; // TODO
const Value = union(enum) {
values: []const @This(),