]> Cypherpunks repositories - gostls13.git/commit
package main
authorRuss Cox <rsc@golang.org>
Thu, 25 Jun 2009 23:42:08 +0000 (16:42 -0700)
committerRuss Cox <rsc@golang.org>
Thu, 25 Jun 2009 23:42:08 +0000 (16:42 -0700)
commitfa6df47986866d2e47cc1ee537227ca2286d162f
tree9edd523976d942540f26296d91bb1b6ecc00594b
parent70a273476bb03d6a62a7fc4899634aa976b17ae5
package main
const foo = []int{1,2}

x.go:3: expression must be a constant

instead of

x.go:3: fatal error: gettype: addtop

R=ken
OCL=30767
CL=30767
src/cmd/gc/dcl.c