Files
yaegi/_test/struct45.go
T

19 lines
138 B
Go

package main
type T struct {
b bool
}
type T1 struct {
T
}
func main() {
t := &T1{}
t.b = true
println(t.b)
}
// Output:
// true