github.com/traefik/yaegi@v0.15.1/_test/issue-1470.go (about)

     1  package main
     2  
     3  type T struct {
     4  	num [tnum + 2]int
     5  }
     6  
     7  const tnum = 23
     8  
     9  func main() {
    10  	t := T{}
    11  	println(len(t.num))
    12  }
    13  
    14  // Output:
    15  // 25