| ... | ... | @@ -1336,7 +1336,7 @@ test "async function passed 0-bit arg after non-0-bit arg" { |
| 1336 | 1336 | var global_int: i32 = 0; |
| 1337 | 1337 | |
| 1338 | 1338 | fn foo() void { |
| 1339 | | _ = async bar(1, .{}); |
| 1339 | bar(1, .{}) catch unreachable; |
| 1340 | 1340 | } |
| 1341 | 1341 | |
| 1342 | 1342 | fn bar(x: i32, args: var) anyerror!void { |
| ... | ... | @@ -1345,7 +1345,7 @@ test "async function passed 0-bit arg after non-0-bit arg" { |
| 1345 | 1345 | global_int = x; |
| 1346 | 1346 | } |
| 1347 | 1347 | }; |
| 1348 | | S.foo(); |
| 1348 | _ = async S.foo(); |
| 1349 | 1349 | resume S.global_frame; |
| 1350 | 1350 | expect(S.global_int == 1); |
| 1351 | 1351 | } |
| ... | ... | @@ -1357,7 +1357,7 @@ test "async function passed align(16) arg after align(8) arg" { |
| 1357 | 1357 | |
| 1358 | 1358 | fn foo() void { |
| 1359 | 1359 | var a: u128 = 99; |
| 1360 | | _ = async bar(10, .{a}); |
| 1360 | bar(10, .{a}) catch unreachable; |
| 1361 | 1361 | } |
| 1362 | 1362 | |
| 1363 | 1363 | fn bar(x: u64, args: var) anyerror!void { |
| ... | ... | @@ -1367,7 +1367,7 @@ test "async function passed align(16) arg after align(8) arg" { |
| 1367 | 1367 | global_int = args[0]; |
| 1368 | 1368 | } |
| 1369 | 1369 | }; |
| 1370 | | S.foo(); |
| 1370 | _ = async S.foo(); |
| 1371 | 1371 | resume S.global_frame; |
| 1372 | 1372 | expect(S.global_int == 99); |
| 1373 | 1373 | } |