github.com/goplus/llgo@v0.8.3/cl/_testdata/printval/in.go (about) 1 package main 2 3 import _ "unsafe" 4 5 //go:linkname printf C.printf 6 func printf(format *int8, __llgo_va_list ...any) 7 8 var format = [...]int8{'H', 'e', 'l', 'l', 'o', ' ', '%', 'd', '\n', 0} 9 10 func main() { 11 printf(&format[0], 100) 12 }