test: Add test for inheriting private method from anonymous field.
The spec says that all methods are inherited from an anonymous field. There is no exception for non-exported methods. This is related to issue 1536. R=rsc CC=golang-dev https://golang.org/cl/5012043
Showing
test/bugs/bug367.dir/main.go
0 → 100644
test/bugs/bug367.dir/p.go
0 → 100644
test/bugs/bug367.go
0 → 100644
Please
register
or
sign in
to comment