diff options
Diffstat (limited to 'libgo/go/cmd/go/testdata/script/list_linkshared.txt')
-rw-r--r-- | libgo/go/cmd/go/testdata/script/list_linkshared.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/libgo/go/cmd/go/testdata/script/list_linkshared.txt b/libgo/go/cmd/go/testdata/script/list_linkshared.txt new file mode 100644 index 00000000000..baae1e2be83 --- /dev/null +++ b/libgo/go/cmd/go/testdata/script/list_linkshared.txt @@ -0,0 +1,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 |