1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:20:32 -07:00
go/usr/gri/gosrc/test/d.go
Robert Griesemer 28547615ce - fixed another export bug
- more self-verification code

R=r
OCL=13894
CL=13894
2008-08-05 15:20:58 -07:00

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;
}