0
1
mirror of https://github.com/golang/go synced 2025-07-14 21:34:46 +00:00
Files
go/test/fixedbugs/bug273.go
Ian Lance Taylor feb95a802e test: tweak bug273.go to not have constant len < cap when calling make
The current spec says that when calling make, if both len and
cap are constant, it is an error if len > cap.  The gc
compiler does not yet implement that, but when it does this
will need to change.  Changing it now for the benefit of
gccgo.

R=gri
CC=golang-dev
https://golang.org/cl/6867064
2012-12-04 16:51:51 -08:00

1.4 KiB