blob: 0154305c275e2faaa43c665764cb84ab654b418b [file] [log] [blame]
! go build selfimport
stderr -count=1 'import cycle not allowed'
go list -e -f '{{.Error}}' selfimport # Don't hang forever
stdout -count=1 'import cycle not allowed'
-- selfimport/selfimport.go --
package selfimport
import "selfimport"