github.com/goplus/llgo@v0.8.3/cl/_testrt/any/in.go (about)

     1  package main
     2  
     3  import (
     4  	"github.com/goplus/llgo/internal/runtime/c"
     5  )
     6  
     7  func incVal(a any) int {
     8  	return a.(int) + 1
     9  }
    10  
    11  func main() {
    12  	c.Printf(c.Str("Hello %d\n"), incVal(100))
    13  }