aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/enum.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2024-06-19 17:42:08 +0200
committerGitHub <noreply@github.com>2024-06-19 17:42:08 +0200
commita154d8da8e39e5d0ed180b4a1e5150349699e5df (patch)
tree5874c40fd206987d89d5118e3a49fa08c22552fc /test/behavior/enum.zig
parent1fdf13a14825d6e1bd247754e3677cf546ee4020 (diff)
parente60c5811473df6c092aa772b63f2cf5d27b7ff46 (diff)
downloadzig-a154d8da8e39e5d0ed180b4a1e5150349699e5df.tar.gz
zig-a154d8da8e39e5d0ed180b4a1e5150349699e5df.zip
Merge pull request #20070 from Rexicon226/riscv
more RISC-V backend progress
Diffstat (limited to 'test/behavior/enum.zig')
-rw-r--r--test/behavior/enum.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/behavior/enum.zig b/test/behavior/enum.zig
index 5f59f61355..8b55ff26bc 100644
--- a/test/behavior/enum.zig
+++ b/test/behavior/enum.zig
@@ -610,7 +610,6 @@ fn testEnumWithSpecifiedTagValues(x: MultipleChoice) !void {
test "enum with specified tag values" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
try testEnumWithSpecifiedTagValues(MultipleChoice.C);
try comptime testEnumWithSpecifiedTagValues(MultipleChoice.C);
@@ -684,7 +683,6 @@ test "empty non-exhaustive enum" {
test "single field non-exhaustive enum" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
const S = struct {
const E = enum(u8) { a, _ };
@@ -749,7 +747,6 @@ test "cast integer literal to enum" {
test "enum with specified and unspecified tag values" {
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_sparc64) return error.SkipZigTest; // TODO
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
try testEnumWithSpecifiedAndUnspecifiedTagValues(MultipleChoice2.D);
try comptime testEnumWithSpecifiedAndUnspecifiedTagValues(MultipleChoice2.D);
@@ -858,8 +855,6 @@ fn doALoopThing(id: EnumWithOneMember) void {
}
test "comparison operator on enum with one member is comptime-known" {
- if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
-
doALoopThing(EnumWithOneMember.Eof);
}