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