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/switch_prong_err_enum.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/switch_prong_err_enum.zig')
| -rw-r--r-- | test/behavior/switch_prong_err_enum.zig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/behavior/switch_prong_err_enum.zig b/test/behavior/switch_prong_err_enum.zig index 6abae1a7b6..36076df9cd 100644 --- a/test/behavior/switch_prong_err_enum.zig +++ b/test/behavior/switch_prong_err_enum.zig @@ -24,7 +24,6 @@ test "switch prong returns error enum" { if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest; if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest; if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest; - if (builtin.zig_backend == .stage2_c) return error.SkipZigTest; switch (doThing(17) catch unreachable) { FormValue.Address => |payload| { try expect(payload == 1); |
