Skip to content

Commit 56ebbc8

Browse files
mluggandrewrk
authored andcommitted
Port some stage1 test cases to stage2
There are now very few stage1 cases remaining: * `cases/compile_errors/stage1/obj/*` currently don't work correctly on stage2. There are 6 of these, and most of them are probably fairly simple to fix. * `cases/compile_errors/async/*` and all remaining `safety/*` depend on async; see ziglang#6025. Resolves: ziglang#14849
1 parent 21b3cf9 commit 56ebbc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compile_errors/undefined_as_field_type_is_rejected.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export fn entry1() void {
77
}
88

99
// error
10-
// backend=stage1
10+
// backend=stage2
1111
// target=native
1212
//
13-
// tmp.zig:2:8: error: use of undefined value here causes undefined behavior
13+
// :2:8: error: use of undefined value here causes undefined behavior

0 commit comments

Comments
 (0)