mv _testcgo => _testrt

This commit is contained in:
xushiwei
2024-04-30 23:18:18 +08:00
parent f7a54e3377
commit d3fddfb634
24 changed files with 9 additions and 5 deletions

13
cl/_testrt/any/in.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"github.com/goplus/llgo/internal/runtime/c"
)
func incVal(a any) int {
return a.(int) + 1
}
func main() {
c.Printf(c.Str("Hello %d\n"), incVal(100))
}