runtime.MakeSmallMap

This commit is contained in:
xushiwei
2024-05-01 07:37:38 +08:00
parent ed8ffb228b
commit 673b9d9a5c
6 changed files with 67 additions and 3 deletions

View File

@@ -1,10 +1,13 @@
package main
/*
import (
"github.com/goplus/llgo/internal/runtime/c"
)
*/
func main() {
a := map[int]int{23: 100, 7: 29}
c.Printf(c.Str("Hello %d\n"), a[23])
_ = a
// c.Printf(c.Str("Hello %d\n"), a[23])
}