Files
yaegi/_test/const11.go
T

14 lines
125 B
Go

package main
func main() {
const (
x = 2 * iota
dim
)
var t [dim * 2]int
println(t[0], len(t))
}
// Output:
// 0 4