github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/tests/backup/type6.gno (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