diff options
| author | Koakuma <koachan@protonmail.com> | 2022-10-11 20:39:47 +0700 |
|---|---|---|
| committer | Koakuma <koachan@protonmail.com> | 2022-12-10 21:51:46 +0700 |
| commit | f9e9ba784f508e1b571a2fb64b55ad58c6ec74c8 (patch) | |
| tree | deddee21dd753a5651d630160a008a7b51355e52 /test/behavior/undefined.zig | |
| parent | 644593ab18a2150a5b412d586fde2fcfbb1461ea (diff) | |
| download | zig-f9e9ba784f508e1b571a2fb64b55ad58c6ec74c8.tar.gz zig-f9e9ba784f508e1b571a2fb64b55ad58c6ec74c8.zip | |
stage2: sparc64: Skip unimplemented tests
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)")); |
