github.com/traefik/yaegi@v0.15.1/_test/a43.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  type T [l1 + l2]int
     6  
     7  const (
     8  	l1 = 2
     9  	l2 = 3
    10  )
    11  
    12  func main() {
    13  	fmt.Println(T{})
    14  }
    15  
    16  // Output:
    17  // [0 0 0 0 0]