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)); }...@@ -7,7 +7,7 @@ export fn entry() usize { return @sizeOf(@TypeOf(&seventh_fib_number)); }
77
8// error8// error
9// backend=stage29// backend=stage2
10// target=native10// target=x86_64-linux
11//11//
12// :3:21: error: evaluation exceeded 1000 backwards branches12// :3:21: error: evaluation exceeded 1000 backwards branches
13// :3:21: note: use @setEvalBranchQuota() to raise the branch limit from 100013// :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 {...@@ -19,7 +19,7 @@ comptime {
1919
20// error20// error
21// backend=stage221// backend=stage2
22// target=native22// target=x86_64-linux
23//23//
24// :2:19: error: function pointer alignment disagrees with function alignment24// :2:19: error: function pointer alignment disagrees with function alignment
25// :16:19: error: function pointer alignment disagrees with function alignment25// :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 {...@@ -5,7 +5,7 @@ export fn entry() void {
5}5}
66
7// error7// error
8// backend=stage28// backend=llvm
9// target=native9// target=native
10//10//
11// :4:9: error: array literal requires address-of operator (&) to coerce to slice type '[]i32'11// :4:9: error: array literal requires address-of operator (&) to coerce to slice type '[]i32'