diff options
Diffstat (limited to 'test/nil.go')
-rw-r--r-- | test/nil.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/nil.go b/test/nil.go index 8cd8e57aa..1aef54ba9 100644 --- a/test/nil.go +++ b/test/nil.go @@ -30,6 +30,6 @@ func main() { c = nil; t = nil; i = nil; - ta = new([]IN, 1); + ta = make([]IN, 1); ta[0] = nil; } |