blob: beb9c50368e306292731a50a3011af17fbfbc5eb [file] [log] [blame]
# It's absurd, but builds with -compiler=gccgo used to fail to build module m.
# golang.org/issue/34358
env GO111MODULE=off
[short] skip
[cross] skip # gccgo can't necessarily cross-compile
cd m
go build
exists m$GOEXE
rm m$GOEXE
[exec:gccgo] go build -compiler=gccgo
[exec:gccgo] exists m$GOEXE
-- m/go.mod --
module m
-- m/main.go --
package main
func main() {}