diff options
Diffstat (limited to 'test/fixedbugs/bug026.go')
| -rw-r--r-- | test/fixedbugs/bug026.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug026.go b/test/fixedbugs/bug026.go index 1d97c18ae5..d8a1d77851 100644 --- a/test/fixedbugs/bug026.go +++ b/test/fixedbugs/bug026.go @@ -18,8 +18,8 @@ func (v *Vector) Insert(i int, e Element) { func main() { type I struct { val int; }; // BUG: can't be local; works if global - v := new(Vector); - v.Insert(0, new(I)); + v := new(*Vector); + v.Insert(0, new(*I)); } /* check: main_sigs_I: not defined |
