]> Cypherpunks repositories - gostls13.git/commit
test: Add test for inheriting private method from anonymous field.
authorIan Lance Taylor <iant@golang.org>
Wed, 14 Sep 2011 17:31:51 +0000 (10:31 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 14 Sep 2011 17:31:51 +0000 (10:31 -0700)
commit5f172fadbebf16818bedc32b0c4c73f59a7155fd
tree1f269d3ede70bf493cc200af80b352286b4f4e20
parent1007a11924ffd78f26b7339a5fb81e0ac82272c1
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
test/bugs/bug367.dir/main.go [new file with mode: 0644]
test/bugs/bug367.dir/p.go [new file with mode: 0644]
test/bugs/bug367.go [new file with mode: 0644]
test/golden.out