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 #6025.

Resolves: #14849
This commit is contained in:
mlugg
2023-03-17 12:27:19 +00:00
committed by Andrew Kelley
parent 626a75bbc2
commit 3a25f6a22e
2 changed files with 49 additions and 2 deletions

View File

@@ -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