aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLeRoyce Pearson <contact@leroycepearson.dev>2022-08-09 16:08:59 -0600
committerAndrew Kelley <andrew@ziglang.org>2022-08-10 16:14:30 -0400
commit0e118ed0aca3d852d2499fa37d04adef62b03ead (patch)
tree16192710018414ad7cfc46833e29f724d9abbd4b /test
parent8fd20a5eb015fda4b27cef14c9e3149575861994 (diff)
downloadzig-0e118ed0aca3d852d2499fa37d04adef62b03ead.tar.gz
zig-0e118ed0aca3d852d2499fa37d04adef62b03ead.zip
stage2: add compile error for shlExact overflow
- moves a stage1 test case and makes it target `llvm` backend instead of `stage1` backend
Diffstat (limited to 'test')
-rw-r--r--test/cases/compile_errors/shlExact_shifts_out_1_bits.zig (renamed from test/cases/compile_errors/stage1/obj/shlExact_shifts_out_1_bits.zig)4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cases/compile_errors/stage1/obj/shlExact_shifts_out_1_bits.zig b/test/cases/compile_errors/shlExact_shifts_out_1_bits.zig
index 953c5fec50..b2ab45a8e9 100644
--- a/test/cases/compile_errors/stage1/obj/shlExact_shifts_out_1_bits.zig
+++ b/test/cases/compile_errors/shlExact_shifts_out_1_bits.zig
@@ -4,7 +4,7 @@ comptime {
}
// error
-// backend=stage1
+// backend=llvm
// target=native
//
-// tmp.zig:2:15: error: operation caused overflow
+// :2:15: error: operation caused overflow