Initial commit: Go 1.23 release state
This commit is contained in:
15
test/interface/recursive1.dir/recursive1.go
Normal file
15
test/interface/recursive1.dir/recursive1.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2012 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// Mutually recursive type definitions imported and used by recursive1.go.
|
||||
|
||||
package p
|
||||
|
||||
type I1 interface {
|
||||
F() I2
|
||||
}
|
||||
|
||||
type I2 interface {
|
||||
I1
|
||||
}
|
||||
Reference in New Issue
Block a user