github.com/goplus/llgo@v0.8.3/cl/_testdata/vargs/in.go (about)

     1  package main
     2  
     3  import "github.com/goplus/llgo/internal/runtime/c"
     4  
     5  func test(a ...any) {
     6  	for _, v := range a {
     7  		c.Printf(c.Str("%d\n"), v.(int))
     8  	}
     9  }
    10  
    11  func main() {
    12  	test(1, 2, 3)
    13  }