diff options
Diffstat (limited to 'test/behavior/undefined.zig')
| -rw-r--r-- | test/behavior/undefined.zig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/behavior/undefined.zig b/test/behavior/undefined.zig index 4e331e6eff..d93c7ea8a7 100644 --- a/test/behavior/undefined.zig +++ b/test/behavior/undefined.zig @@ -17,6 +17,7 @@ test "init static array to undefined" { // C backend does not yet support returning arrays, so it fails if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO try expect(static_array[0] == 1); try expect(static_array[4] == 2); @@ -46,6 +47,7 @@ fn setFooX(foo: *Foo) void { test "assign undefined to struct" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO comptime { var foo: Foo = undefined; @@ -62,6 +64,7 @@ test "assign undefined to struct" { test "assign undefined to struct with method" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO comptime { var foo: Foo = undefined; @@ -77,6 +80,7 @@ test "assign undefined to struct with method" { test "type name of undefined" { if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; + if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO const x = undefined; try expect(mem.eql(u8, @typeName(@TypeOf(x)), "@TypeOf(undefined)")); |
