llgo/ssa: Do Call/Go/Defer

This commit is contained in:
xushiwei
2024-05-31 12:01:11 +08:00
parent 2196f2259f
commit 8f82d86a5d
6 changed files with 234 additions and 62 deletions

View File

@@ -0,0 +1,12 @@
package main
func main() {
done := false
go func() {
println("Hello, World!")
done = true
}()
for !done {
print(".")
}
}