remove references to stage1 in behavior tests

Good riddance.
This commit is contained in:
Andrew Kelley
2022-12-06 19:06:48 -07:00
parent b7b905d227
commit c8aba15c22
61 changed files with 150 additions and 647 deletions

View File

@@ -377,8 +377,6 @@ const NoReturn = struct {
};
test "optional of noreturn used with if" {
if (builtin.zig_backend == .stage1) return error.SkipZigTest;
NoReturn.a = 64;
if (NoReturn.loop()) |_| {
@compileError("bad");
@@ -388,8 +386,6 @@ test "optional of noreturn used with if" {
}
test "optional of noreturn used with orelse" {
if (builtin.zig_backend == .stage1) return error.SkipZigTest;
NoReturn.a = 64;
const val = NoReturn.testOrelse();
try expect(val == 123);
@@ -419,7 +415,6 @@ test "alignment of wrapping an optional payload" {
}
test "Optional slice size is optimized" {
if (builtin.zig_backend == .stage1) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_aarch64) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_arm) return error.SkipZigTest;
if (builtin.zig_backend == .stage2_x86_64) return error.SkipZigTest;