| author | |
| committer | |
| log | 87e07d8671b469431340c615dcdd5a5332d198ec |
| tree | 45475f43b20f7ee5d1a1d35c58aee8cf6201ba5b |
| parent | 0787b11f19917ab4ae994cd12bc8ac5c96311683 |
shoulda rebased3 files changed, 5 insertions(+), 2 deletions(-)
test/cases/compile_errors/for_loop_break_value_ignored.zig+1| ... | @@ -13,3 +13,4 @@ export fn f1() void { | ... | @@ -13,3 +13,4 @@ export fn f1() void { |
| 13 | // target=native | 13 | // target=native |
| 14 | // | 14 | // |
| 15 | // :6:5: error: incompatible types: 'usize' and 'void' | 15 | // :6:5: error: incompatible types: 'usize' and 'void' |
| 16 | // :7:22: note: type 'usize' here |
test/cases/compile_errors/missing_else_clause.zig+2-2| ... | @@ -31,9 +31,9 @@ export fn entry() void { | ... | @@ -31,9 +31,9 @@ export fn entry() void { |
| 31 | // target=native | 31 | // target=native |
| 32 | // | 32 | // |
| 33 | // :2:21: error: incompatible types: 'i32' and 'void' | 33 | // :2:21: error: incompatible types: 'i32' and 'void' |
| 34 | // :6:25: note: type 'i32' here | ||
| 35 | // :6:15: error: incompatible types: 'i32' and 'void' | ||
| 36 | // :2:31: note: type 'i32' here | 34 | // :2:31: note: type 'i32' here |
| 35 | // :6:15: error: incompatible types: 'i32' and 'void' | ||
| 36 | // :6:25: note: type 'i32' here | ||
| 37 | // :12:16: error: expected type 'tmp.h.T', found 'void' | 37 | // :12:16: error: expected type 'tmp.h.T', found 'void' |
| 38 | // :11:15: note: struct declared here | 38 | // :11:15: note: struct declared here |
| 39 | // :18:9: error: incompatible types: 'void' and 'tmp.k.T' | 39 | // :18:9: error: incompatible types: 'void' and 'tmp.k.T' |
test/cases/compile_errors/while_loop_break_value_ignored.zig+2| ... | @@ -23,4 +23,6 @@ export fn f2() void { | ... | @@ -23,4 +23,6 @@ export fn f2() void { |
| 23 | // target=native | 23 | // target=native |
| 24 | // | 24 | // |
| 25 | // :7:5: error: incompatible types: 'usize' and 'void' | 25 | // :7:5: error: incompatible types: 'usize' and 'void' |
| 26 | // :8:22: note: type 'usize' here | ||
| 26 | // :14:12: error: incompatible types: 'usize' and 'void' | 27 | // :14:12: error: incompatible types: 'usize' and 'void' |
| 28 | // :16:33: note: type 'usize' here |