fix broken test cases exposed by ec445fb6b8bb3f3d423cafa4f3a7860da65ca233

shoulda rebased
This commit is contained in:
Veikka Tuominen 2023-03-21 20:57:14 +02:00
parent 0787b11f19
commit 87e07d8671
3 changed files with 5 additions and 2 deletions

View File

@ -13,3 +13,4 @@ export fn f1() void {
// target=native
//
// :6:5: error: incompatible types: 'usize' and 'void'
// :7:22: note: type 'usize' here

View File

@ -31,9 +31,9 @@ export fn entry() void {
// target=native
//
// :2:21: error: incompatible types: 'i32' and 'void'
// :6:25: note: type 'i32' here
// :6:15: error: incompatible types: 'i32' and 'void'
// :2:31: note: type 'i32' here
// :6:15: error: incompatible types: 'i32' and 'void'
// :6:25: note: type 'i32' here
// :12:16: error: expected type 'tmp.h.T', found 'void'
// :11:15: note: struct declared here
// :18:9: error: incompatible types: 'void' and 'tmp.k.T'

View File

@ -23,4 +23,6 @@ export fn f2() void {
// target=native
//
// :7:5: error: incompatible types: 'usize' and 'void'
// :8:22: note: type 'usize' here
// :14:12: error: incompatible types: 'usize' and 'void'
// :16:33: note: type 'usize' here