1# It's absurd, but builds with -compiler=gccgo used to fail to build module m. 2# golang.org/issue/34358 3 4env GO111MODULE=off 5 6[short] skip 7[cross] skip # gccgo can't necessarily cross-compile 8 9cd m 10go build 11exists m$GOEXE 12rm m$GOEXE 13[exec:gccgo] go build -compiler=gccgo 14[exec:gccgo] exists m$GOEXE 15 16-- m/go.mod -- 17module m 18-- m/main.go -- 19package main 20func main() {}