parent
5de92425d5
commit
915e321a23
|
@ -4733,8 +4733,8 @@ test "resume from suspend" {
|
|||
std.debug.assert(my_result == 2);
|
||||
}
|
||||
async fn testResumeFromSuspend(my_result: *i32) void {
|
||||
suspend |p| {
|
||||
resume p;
|
||||
suspend {
|
||||
resume @handle();
|
||||
}
|
||||
my_result.* += 1;
|
||||
suspend;
|
||||
|
|
Loading…
Reference in New Issue