mv _testcgo => _testrt
This commit is contained in:
10
cl/_testrt/hello/in.go
Normal file
10
cl/_testrt/hello/in.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package main
|
||||
|
||||
import "github.com/goplus/llgo/cl/internal/libc"
|
||||
|
||||
var format = [...]int8{'H', 'e', 'l', 'l', 'o', ' ', '%', 'd', '\n', 0}
|
||||
|
||||
func main() {
|
||||
sfmt := &format[0]
|
||||
libc.Printf(sfmt, libc.Strlen(sfmt))
|
||||
}
|
||||
Reference in New Issue
Block a user