summaryrefslogtreecommitdiff
path: root/test/interface/recursive1.go
blob: cc3cdc37f1ae482768ff4038b4a50f9fd60dfaa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// skip # used by recursive2

// 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
}