github.com/traefik/yaegi@v0.15.1/_test/const7.go (about) 1 package main 2 3 import "fmt" 4 5 const ( 6 a = iota 7 b 8 c 9 d 10 ) 11 12 type T [c]int 13 14 func main() { 15 fmt.Println(T{}) 16 } 17 18 // Output: 19 // [0 0]