gitlab.com/ethan.reesor/vscode-notebooks/yaegi@v0.0.0-20220417214422-5c573557938e/_test/issue-1177.go (about)

     1  package main
     2  
     3  type counters [3][16]int
     4  
     5  func main() {
     6  	cs := &counters{}
     7  	p := &cs[0][1]
     8  	*p = 2
     9  	println(cs[0][1])
    10  }
    11  
    12  // Output:
    13  // 2