summaryrefslogtreecommitdiff
path: root/test/method.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-09-30 14:59:41 -0400
committerRuss Cox <rsc@golang.org>2010-09-30 14:59:41 -0400
commita447267d1198bbeeff68b58f3e2bce072ac36d7a (patch)
treec4037d5759c8101bd6fe516d03ede394aa762e1e /test/method.go
parentfec2ec6a96b04230e07a8958117564d17ff72a5b (diff)
downloadgo-a447267d1198bbeeff68b58f3e2bce072ac36d7a.tar.gz
gc, spec, tests: no auto-indirect of pointer to interface value
Implies no embedding of pointer to interface value either. R=gri, iant, ken2, r, r2 CC=golang-dev http://codereview.appspot.com/2289041
Diffstat (limited to 'test/method.go')
-rw-r--r--test/method.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/method.go b/test/method.go
index b52d97894..b5a02c687 100644
--- a/test/method.go
+++ b/test/method.go
@@ -124,9 +124,4 @@ func main() {
println("Val.val(v):", Val.val(v))
panic("fail")
}
- pv := &v
- if pv.val() != 3 {
- println("pv.val():", pv.val())
- panic("fail")
- }
}