diff options
Diffstat (limited to 'test/behavior/basic.zig')
| -rw-r--r-- | test/behavior/basic.zig | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/behavior/basic.zig b/test/behavior/basic.zig index 024e24e400..304b4a83f7 100644 --- a/test/behavior/basic.zig +++ b/test/behavior/basic.zig @@ -691,8 +691,6 @@ test "string escapes" { } test "explicit cast optional pointers" { - if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO - const a: ?*i32 = undefined; const b: ?*f32 = @ptrCast(?*f32, a); _ = b; @@ -735,7 +733,6 @@ test "string concatenation" { } test "thread local variable" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO const S = struct { @@ -746,7 +743,11 @@ test "thread local variable" { } test "result location is optional inside error union" { - if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_wasm) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; // TODO + if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; // TODO const x = maybe(true) catch unreachable; try expect(x.? == 42); @@ -760,7 +761,6 @@ fn maybe(x: bool) anyerror!?u32 { } test "pointer to thread local array" { - if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; if (builtin.zig_backend != .stage1) return error.SkipZigTest; // TODO const s = "Hello world"; |
