env GO111MODULE=off

! go build selfimport
stderr -count=1 'import cycle not allowed'

# 'go list' shouldn't hang forever.
go list -e -json selfimport

-- $GOPATH/src/selfimport/selfimport.go --
package selfimport

import "selfimport"
