cl: instr llgo.index/advance

This commit is contained in:
xushiwei
2024-05-07 16:05:18 +08:00
parent 942b1f5159
commit 5a5d86ccc3
7 changed files with 84 additions and 6 deletions

11
cl/_testlibc/argv/in.go Normal file
View File

@@ -0,0 +1,11 @@
package main
import (
"github.com/goplus/llgo/c"
)
func main() {
for i := c.Int(0); i < c.Argc; i++ {
c.Printf(c.Str("%s\n"), c.Index(c.Argv, i))
}
}