Commit 644baa0f5b

Andrew Kelley <andrew@ziglang.org>
2022-07-21 01:51:17
constrain target/backend of new test cases
avoids testing stuff that doesn't work yet.
1 parent 794beaf
test/cases/compile_errors/endless_loop_in_function_evaluation.zig
@@ -7,7 +7,7 @@ export fn entry() usize { return @sizeOf(@TypeOf(&seventh_fib_number)); }
 
 // error
 // backend=stage2
-// target=native
+// target=x86_64-linux
 //
 // :3:21: error: evaluation exceeded 1000 backwards branches
 // :3:21: note: use @setEvalBranchQuota() to raise the branch limit from 1000
test/cases/compile_errors/function_ptr_alignment.zig
@@ -19,7 +19,7 @@ comptime {
 
 // error
 // backend=stage2
-// target=native
+// target=x86_64-linux
 //
 // :2:19: error: function pointer alignment disagrees with function alignment
 // :16:19: error: function pointer alignment disagrees with function alignment
test/cases/compile_errors/implicit_cast_from_array_to_mutable_slice.zig
@@ -5,7 +5,7 @@ export fn entry() void {
 }
 
 // error
-// backend=stage2
+// backend=llvm
 // target=native
 //
 // :4:9: error: array literal requires address-of operator (&) to coerce to slice type '[]i32'