Files
moxa/_test/struct54.go
2020-07-07 12:05:03 +02:00

27 lines
217 B
Go

package main
type S struct {
t *T
}
func newS() *S {
return &S{
t: &T{u: map[string]*U{}},
}
}
type T struct {
u map[string]*U
}
type U struct {
a int
}
func main() {
s := newS()
_ = s
println("ok")
}