Skip to content

Commit

Permalink
Port some stage1 test cases to stage2
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mlugg authored and andrewrk committed Mar 20, 2023
1 parent 21b3cf9 commit 56ebbc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compile_errors/undefined_as_field_type_is_rejected.zig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export fn entry1() void {
}

// error
// backend=stage1
// backend=stage2
// target=native
//
// tmp.zig:2:8: error: use of undefined value here causes undefined behavior
// :2:8: error: use of undefined value here causes undefined behavior

0 comments on commit 56ebbc8

Please sign in to comment.