mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
14 lines
125 B
Go
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
|