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

     1  env GO111MODULE=off
     2  
     3  # check for linker name in error message about linker crash
     4  [!compiler:gc] skip
     5  ! go build -ldflags=-crash_for_testing x.go
     6  stderr [\\/]tool[\\/].*[\\/]link
     7  
     8  -- x.go --
     9  package main; func main() {}
    10  

View as plain text