0
1
mirror of https://github.com/golang/go synced 2025-06-10 16:55:44 +00:00

convert tests; nothing interesting.

R=r
OCL=23012
CL=23014
This commit is contained in:
Russ Cox
2009-01-16 16:12:14 -08:00
parent 9f4a27cbe6
commit f48cbfdf56
82 changed files with 292 additions and 296 deletions

@ -6,9 +6,9 @@
package main
type T struct { i int; f float; s string; next *T }
export type T struct { i int; f float; s string; next *T }
type R struct { num int }
export type R struct { num int }
func itor(a int) *R {
r := new(R);
@ -22,8 +22,8 @@ func eq(a []*R) {
}
}
type P struct { a, b int };
func NewP(a, b int) *P {
export type P struct { a, b int };
export func NewP(a, b int) *P {
return &P{a, b}
}