github.com/switchupcb/yaegi@v0.10.2/_test/alias1.go (about)

     1  package main
     2  
     3  import "fmt"
     4  
     5  type MyT T
     6  
     7  type T struct {
     8  	Name string
     9  }
    10  
    11  func main() {
    12  	fmt.Println(MyT{})
    13  }
    14  
    15  // Output:
    16  // {}