aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/switch_prong_err_enum.zig
diff options
context:
space:
mode:
authorJacob Young <jacobly0@users.noreply.github.com>2022-10-06 22:27:32 -0400
committerJacob Young <jacobly0@users.noreply.github.com>2022-10-25 05:11:28 -0400
commit525dcaecba43f9931aff69fd7dd0cd5b443c2859 (patch)
tree75990c8d6e4948cb35f1993a156de477357fb54a /test/behavior/switch_prong_err_enum.zig
parent45c667eb21b1edde991435871523ece82793b449 (diff)
downloadzig-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.zig1
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);