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

     1  package main
     2  
     3  import (
     4  	"fmt"
     5  	"reflect"
     6  )
     7  
     8  type T int
     9  
    10  func main() {
    11  	a := T(12)
    12  	fmt.Println(reflect.TypeOf(a))
    13  }
    14  
    15  // Output:
    16  // int