1
0
mirror of https://github.com/golang/go synced 2024-11-08 19:46:23 -07:00
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

10 lines
136 B
Go

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