mirror of
https://github.com/golang/go.git
synced 2025-10-29 15:54:14 +00:00
convert tests; nothing interesting.
R=r OCL=23012 CL=23014
This commit is contained in:
parent
9f4a27cbe6
commit
f48cbfdf56
82 changed files with 292 additions and 296 deletions
|
|
@ -6,17 +6,17 @@
|
|||
|
||||
package main
|
||||
|
||||
type I2 interface
|
||||
export type I2 interface
|
||||
|
||||
type I1 interface {
|
||||
export type I1 interface {
|
||||
foo() I2
|
||||
}
|
||||
|
||||
type I2 interface {
|
||||
export type I2 interface {
|
||||
bar() I1
|
||||
}
|
||||
|
||||
type T int
|
||||
export type T int
|
||||
func (t T) bar() I1;
|
||||
func (t T) foo() I2 { return t }
|
||||
func (t T) bar() I1 { return t }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue