17 lines
252 B
Zig
17 lines
252 B
Zig
export fn entry() void {
|
|
_ = async foo();
|
|
}
|
|
fn foo() void {
|
|
suspend {
|
|
suspend {
|
|
}
|
|
}
|
|
}
|
|
|
|
// error
|
|
// backend=llvm
|
|
// target=native
|
|
//
|
|
// :6:9: error: cannot suspend inside suspend block
|
|
// :5:5: note: other suspend block here
|