]> Cypherpunks repositories - gostls13.git/commit
test: tweak bug273.go to not have constant len < cap when calling make
authorIan Lance Taylor <iant@golang.org>
Wed, 5 Dec 2012 00:51:51 +0000 (16:51 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 5 Dec 2012 00:51:51 +0000 (16:51 -0800)
commitfeb95a802e7a2d31f50389e1eca4b536e279203f
tree84c94092057be790078bc22b739f5d240b53ab95
parentcfc0a59d6e4e11b08b7b7085e6da031643879b0a
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
test/fixedbugs/bug273.go