1
0
mirror of https://github.com/golang/go synced 2024-11-15 03:50:33 -07:00
go/test/fixedbugs/bug467.dir/p1.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
90 B
Go

package p1
type SockaddrUnix int
func (s SockaddrUnix) Error() string { return "blah" }