blob: 44b82a62b0b0ddbcb04a9756739c914a246e5e8f [file] [log] [blame]
# Check that we don't get infinite recursion when loading a package with
# an import cycle and another error. Verifies #25830.
! go list
stderr 'found packages a \(a.go\) and b \(b.go\)'
-- go.mod --
module errcycle
go 1.16
-- a.go --
package a
import _ "errcycle"
-- b.go --
package b