github.com/traefik/yaegi@v0.15.1/_test/const15.go (about)

     1  package main
     2  
     3  type T1 t1
     4  
     5  type t1 int8
     6  
     7  const (
     8  	P2 T1 = 2
     9  	P3 T1 = 3
    10  )
    11  
    12  func main() {
    13  	println(P3)
    14  }
    15  
    16  // Output:
    17  // 3