aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/mod_import_issue42891.txt
blob: a78cab29ba53fcadcfeafa1dc26cafbd1703dfbc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# If an import declaration is an absolute path, most commands should report
# an error instead of going into an infinite loop.
# Verifies golang.org/issue/42891.
go list .
stdout '^m$'

-- go.mod --
module m

go 1.16
-- m.go --
package m

import "/"