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

     1  package main
     2  
     3  import "fmt"
     4  
     5  var t [7/3]int
     6  
     7  func main() {
     8  	t[0] = 3/2
     9  	t[1] = 5/2
    10  	fmt.Println(t)
    11  }
    12  
    13  // Output:
    14  // [1 2]