aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/go.test/test/interface/recursive1.go
blob: 2c93a28363aa89b86980025123c1fa86ce719ae8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// true  # 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.

package p

type I1 interface {
	F() I2
}

type I2 interface {
	I1
}