aboutsummaryrefslogtreecommitdiff
path: root/test/cases/compile_errors
diff options
context:
space:
mode:
authormlugg <mlugg@mlugg.co.uk>2023-03-17 12:27:19 +0000
committerAndrew Kelley <andrew@ziglang.org>2023-03-20 19:55:50 -0400
commit3a25f6a22e0f339fcaecc87efb0fa4e5f67bd73c (patch)
tree92858bf958239ef553a9e8a185b261c6f4136cf8 /test/cases/compile_errors
parent626a75bbc21453237f95c186d1fea790f233bc58 (diff)
downloadzig-3a25f6a22e0f339fcaecc87efb0fa4e5f67bd73c.tar.gz
zig-3a25f6a22e0f339fcaecc87efb0fa4e5f67bd73c.zip
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
Diffstat (limited to 'test/cases/compile_errors')
-rw-r--r--test/cases/compile_errors/undefined_as_field_type_is_rejected.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cases/compile_errors/undefined_as_field_type_is_rejected.zig b/test/cases/compile_errors/undefined_as_field_type_is_rejected.zig
index b6eb059661..b0abd7139e 100644
--- a/test/cases/compile_errors/undefined_as_field_type_is_rejected.zig
+++ b/test/cases/compile_errors/undefined_as_field_type_is_rejected.zig
@@ -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