1 // $G $D/embed0.go && $G $D/$F.go && $L $F.$A && ./$A.out
3 // Copyright 2009 The Go Authors. All rights reserved.
4 // Use of this source code is governed by a BSD-style
5 // license that can be found in the LICENSE file.
7 // Check that embedded interface types can have local methods.
16 type I
interface { m() }
17 type J
interface { I
}
19 type PI
interface { p
.I
}
20 type PJ
interface { p
.J
}