diff options
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 7b15f7477..ee9414ddc 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); |