1
0
mirror of https://github.com/golang/go synced 2024-09-24 09:30:13 -06:00
go/test/fixedbugs/bug467.dir/p2.go
Rémy Oudompheng 8d95245d0d cmd/gc: fix incomplete export data when inlining with local variables.
When local declarations needed unexported types, these could
be missing in the export data.

Fixes build with -gcflags -lll, except for exp/gotype.

R=golang-dev, rsc, lvd
CC=golang-dev
https://golang.org/cl/6813067
2012-11-01 19:06:52 +01:00

6 lines
86 B
Go

package p2
import "./p1"
func SockUnix() error { var s *p1.SockaddrUnix; return s }