aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/list_linkshared.txt
blob: baae1e2be83c899d27eef765e3e4dd7ab27881fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
env GO111MODULE=on

# golang.org/issue/35759: 'go list -linkshared'
# panicked if invoked on a test-only package.

[!buildmode:shared] skip

go list -f '{{.ImportPath}}: {{.Target}} {{.Shlib}}' -linkshared .
stdout '^example.com:  $'

-- go.mod --
module example.com

go 1.14
-- x.go --
package x