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

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