github.com/traefik/yaegi@v0.15.1/_test/struct12.go (about) 1 package main 2 3 import "fmt" 4 5 type S1 struct { 6 Name string 7 } 8 9 type S2 struct { 10 *S1 11 } 12 13 func main() { 14 fmt.Println(S2{}) 15 } 16 17 // Output: 18 // {<nil>}