diff options
author | Russ Cox <rsc@golang.org> | 2009-01-06 15:19:02 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-06 15:19:02 -0800 |
commit | 5564504507c9b307840a5d13d9700d46e2a8524d (patch) | |
tree | f3f98baba1fdd5e0138a4875884aa85111308b3f /test/func.go | |
parent | 9662e7b2db0fa8c2bb4d8cf28940116763eedbc9 (diff) | |
download | go-5564504507c9b307840a5d13d9700d46e2a8524d.tar.gz go-5564504507c9b307840a5d13d9700d46e2a8524d.zip |
new new & make
R=r
OCL=22166
CL=22166
Diffstat (limited to 'test/func.go')
-rw-r--r-- | test/func.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/func.go b/test/func.go index 7b15f7477a..ee9414ddc4 100644 --- a/test/func.go +++ b/test/func.go @@ -81,7 +81,7 @@ func main() { r9, s9 := f9(1); assertequal(r9, 9, "r9"); assertequal(int(s9), 9, "s9"); - var t *T = new(*T); + var t *T = new(T); t.x = 1; t.y = 2; r10 := t.m10(1, 3.0); |