mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
20 lines
128 B
Go
20 lines
128 B
Go
package main
|
|
|
|
import "fmt"
|
|
|
|
const (
|
|
a = iota
|
|
b
|
|
c
|
|
d
|
|
)
|
|
|
|
type T [c]int
|
|
|
|
func main() {
|
|
fmt.Println(T{})
|
|
}
|
|
|
|
// Output:
|
|
// [0 0]
|