riscv: update tests and fix reuse bug

This commit is contained in:
David Rubin
2024-07-26 04:00:25 -07:00
parent 046001a34a
commit 8da212c11b
26 changed files with 18 additions and 87 deletions
-2
View File
@@ -1219,8 +1219,6 @@ test "enum tag from a local variable" {
}
test "auto-numbered enum with signed tag type" {
if (builtin.zig_backend == .stage2_riscv64) return error.SkipZigTest;
const E = enum(i32) { a, b };
try std.testing.expectEqual(@as(i32, 0), @intFromEnum(E.a));