From 525dcaecba43f9931aff69fd7dd0cd5b443c2859 Mon Sep 17 00:00:00 2001 From: Jacob Young Date: Thu, 6 Oct 2022 22:27:32 -0400 Subject: behavior: enable stage2_c tests that are currently passing Also fix C warnings triggered by these tests. --- test/behavior/type.zig | 4 ---- 1 file changed, 4 deletions(-) (limited to 'test/behavior/type.zig') 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 -- cgit v1.2.3