diff options
Diffstat (limited to 'test/fixedbugs/bug045.go')
-rw-r--r-- | test/fixedbugs/bug045.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixedbugs/bug045.go b/test/fixedbugs/bug045.go index d8a712c6d..94888c40e 100644 --- a/test/fixedbugs/bug045.go +++ b/test/fixedbugs/bug045.go @@ -13,7 +13,7 @@ type T struct { func main() { var ta []*T; - ta = new([1]*T); + ta = new([1]*T)[0:]; ta[0] = nil; } /* |