]> Cypherpunks repositories - gostls13.git/commit
Test composite literals with undeclared types. This crashed
authorIan Lance Taylor <iant@golang.org>
Fri, 21 Aug 2009 23:09:17 +0000 (16:09 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 21 Aug 2009 23:09:17 +0000 (16:09 -0700)
commit1f1551f17900ce992f1630f0603ceef1546dc655
treeb006f6a78674e478717f68ca57dbdb67db1b2ebd
parent1068bcab9653bbede6bbd5dec044d0266625357b
Test composite literals with undeclared types.  This crashed
gccgo in a few different places, and crashes 6g as of this
writing.  Note that the index in a composite literal must be
looked up in a different namespace if the composite literal
type turns out to be a struct.

R=rsc
DELTA=36  (36 added, 0 deleted, 0 changed)
OCL=33681
CL=33685
test/bugs/bug194.go [new file with mode: 0644]
test/golden.out