diff options
Diffstat (limited to 'test/fixedbugs/bug011.go')
-rw-r--r-- | test/fixedbugs/bug011.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug011.go b/test/fixedbugs/bug011.go index 63673c086..c2d9cde6c 100644 --- a/test/fixedbugs/bug011.go +++ b/test/fixedbugs/bug011.go @@ -16,7 +16,7 @@ func (t *T) m(a int, b float) int { } func main() { - var t *T = new(T); + var t *T = new(*T); t.x = 1; t.y = 2; r10 := t.m(1, 3.0); |