1 // $G $D/embed0.go && $G $D/$F.go && $L $F.$A && ./$A.out
3 // NOTE: This test is not run by 'run.go' and so not run by all.bash.
4 // To run this test you must use the ./run shell script.
6 // Copyright 2009 The Go Authors. All rights reserved.
7 // Use of this source code is governed by a BSD-style
8 // license that can be found in the LICENSE file.
10 // Test that embedded interface types can have local methods.
19 type I interface { m() }
20 type J interface { I }
22 type PI interface { p.I }
23 type PJ interface { p.J }