github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/files/slice0.gno (about) 1 package main 2 3 import "fmt" 4 5 func main() { 6 a := [2][2]int{{0, 1}, {2, 3}} 7 fmt.Println(a[0][0:]) 8 } 9 10 // Output: 11 // [0 1]