Text file src/cmd/go/testdata/script/gccgo_m.txt

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

View as plain text