diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2022-10-06 22:27:32 -0400 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2022-10-25 05:11:28 -0400 |
| commit | 525dcaecba43f9931aff69fd7dd0cd5b443c2859 (patch) | |
| tree | 75990c8d6e4948cb35f1993a156de477357fb54a /test/behavior/type.zig | |
| parent | 45c667eb21b1edde991435871523ece82793b449 (diff) | |
| download | zig-525dcaecba43f9931aff69fd7dd0cd5b443c2859.tar.gz zig-525dcaecba43f9931aff69fd7dd0cd5b443c2859.zip | |
behavior: enable stage2_c tests that are currently passing
Also fix C warnings triggered by these tests.
Diffstat (limited to 'test/behavior/type.zig')
| -rw-r--r-- | test/behavior/type.zig | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/behavior/type.zig b/test/behavior/type.zig index 4b70f502c7..1b71d67df3 100644 --- a/test/behavior/type.zig +++ b/test/behavior/type.zig @@ -248,7 +248,6 @@ fn add(a: i32, b: i32) i32 { test "Type.ErrorSet" { if (builtin.zig_backend == .stage1) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO try testing.expect(@Type(.{ .ErrorSet = null }) == anyerror); @@ -462,7 +461,6 @@ test "Type.Union" { } test "Type.Union from Type.Enum" { - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO const Tag = @Type(.{ @@ -490,7 +488,6 @@ test "Type.Union from Type.Enum" { } test "Type.Union from regular enum" { - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; // TODO const E = enum { working_as_expected }; @@ -509,7 +506,6 @@ test "Type.Union from regular enum" { test "Type.Fn" { if (builtin.zig_backend == .stage1) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; // TODO if (true) { // https://github.com/ziglang/zig/issues/12360 |
