authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-20 16:51:17-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-21 12:21:30-07:00
log644baa0f5bde6e51304dee46aa9e7eae1e46c863
tree6aad3bc1ad3641562a2caff4ff71442a40bc82c7
parent794beafb9c2c687d993a0933be258a2ccdf0be4f

constrain target/backend of new test cases

avoids testing stuff that doesn't work yet.

3 files changed, 3 insertions(+), 3 deletions(-)

test/cases/compile_errors/endless_loop_in_function_evaluation.zig+1-1
......@@ -7,7 +7,7 @@ export fn entry() usize { return @sizeOf(@TypeOf(&seventh_fib_number)); }
77
88// error
99// backend=stage2
10// target=native
10// target=x86_64-linux
1111//
1212// :3:21: error: evaluation exceeded 1000 backwards branches
1313// :3:21: note: use @setEvalBranchQuota() to raise the branch limit from 1000
test/cases/compile_errors/function_ptr_alignment.zig+1-1
......@@ -19,7 +19,7 @@ comptime {
1919
2020// error
2121// backend=stage2
22// target=native
22// target=x86_64-linux
2323//
2424// :2:19: error: function pointer alignment disagrees with function alignment
2525// :16:19: error: function pointer alignment disagrees with function alignment
test/cases/compile_errors/implicit_cast_from_array_to_mutable_slice.zig+1-1
......@@ -5,7 +5,7 @@ export fn entry() void {
55}
66
77// error
8// backend=stage2
8// backend=llvm
99// target=native
1010//
1111// :4:9: error: array literal requires address-of operator (&) to coerce to slice type '[]i32'