| 1 |
env GO111MODULE=off |
| 2 |
|
| 3 |
! go build selfimport |
| 4 |
stderr -count=1 'import cycle not allowed' |
| 5 |
|
| 6 |
# 'go list' shouldn't hang forever. |
| 7 |
go list -e -json selfimport |
| 8 |
|
| 9 |
-- $GOPATH/src/selfimport/selfimport.go -- |
| 10 |
package selfimport |
| 11 |
|
| 12 |
import "selfimport" |