mirror of
https://github.com/golang/go.git
synced 2025-05-15 12:24:37 +00:00
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;
|
|
} |