blob: 44b82a62b0b0ddbcb04a9756739c914a246e5e8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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
|