summaryrefslogtreecommitdiff
path: root/test/golden.out
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2011-09-14 10:31:51 -0700
committerIan Lance Taylor <iant@golang.org>2011-09-14 10:31:51 -0700
commit094c027ffcc611901e593b24457df1c981a23476 (patch)
tree9029da57c0762fca4d45f77b8955b6d7c588886c /test/golden.out
parentd4ff804dedec4c0ac2d03fa6d5d85c84ebe93450 (diff)
downloadgo-094c027ffcc611901e593b24457df1c981a23476.tar.gz
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 http://codereview.appspot.com/5012043
Diffstat (limited to 'test/golden.out')
-rw-r--r--test/golden.out4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/golden.out b/test/golden.out
index 1942f45fb..fc4b81d3b 100644
--- a/test/golden.out
+++ b/test/golden.out
@@ -155,3 +155,7 @@ panic: interface conversion: interface is main.T, not main.T
0x0
== bugs/
+
+=========== bugs/bug367.go
+panic: interface conversion: main.T is not p.I: missing method get
+BUG: should not fail