Closed
Description
What version of Go are you using (go version
)?
go version go1.10.1 linux/amd64
Does this issue reproduce with the latest release?
yes
What did you do?
package main
func main() {
type T struct {
a interface{}
b int
}
var t T
var z = [3]T{1: t}
_ = z == z
}
What did you expect to see?
no errors
What did you see instead?
weird outputs, not like normal error messages.
type..eq.[3]main.T·1: call to external function
main.main: relocation target type..eq.[3]main.T·1 not defined
main.main: undefined: "type..eq.[3]main.T·1"
btw, gccgo is ok to compile this program.