go/test/fixedbugs/issue4879.dir/b.go
Rémy Oudompheng 9e66ee4562 cmd/gc: fix corruption in export of &T{} literals.
Composite literals using the &T{} form were incorrectly
exported, leading to weird errors at import time.

Fixes #4879.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7395054
2013-02-26 00:43:31 +01:00

9 lines
136 B
Go

package b
import "./a"
func F() {
a.MakePrivateCollection()
a.MakePrivateCollection2()
a.MakePrivateCollection3()
}