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/allocstr/in.go Normal file
View File

@@ -0,0 +1,13 @@
package main
import (
"github.com/goplus/llgo/internal/runtime/c"
)
func hello() string {
return "Hello world\n"
}
func main() {
c.Printf(c.AllocaCStr(hello()))
}