mirror of
https://github.com/golang/go
synced 2024-11-22 19:54:39 -07:00
28547615ce
- more self-verification code R=r OCL=13894 CL=13894
19 lines
201 B
Go
19 lines
201 B
Go
package D
|
|
|
|
type T0 int
|
|
|
|
export type T1 struct {
|
|
n int;
|
|
a, b T0;
|
|
}
|
|
|
|
export type T2 struct {
|
|
u, v float;
|
|
}
|
|
|
|
export func (obj *T2) M1(u, v float) {
|
|
}
|
|
|
|
export func F0(a int, b T0) int {
|
|
return a + b;
|
|
} |