github.com/traefik/yaegi@v0.15.1/_test/a28.go (about) 1 package main 2 3 import "fmt" 4 5 func main() { 6 a := [...]string{9: "hello"} 7 fmt.Printf("%v %T\n", a, a) 8 } 9 10 // Output: 11 // [ hello] [10]string