summaryrefslogtreecommitdiff
path: root/test/complit.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-16 16:12:14 -0800
committerRuss Cox <rsc@golang.org>2009-01-16 16:12:14 -0800
commit976529fd654f2cdf6ca21afcdeddedeff7d9583a (patch)
tree7da3dc3316609873715c3e6e7871cb2bf57da081 /test/complit.go
parentdbfbdc283ac50455e365a40912828137e215ebde (diff)
downloadgo-976529fd654f2cdf6ca21afcdeddedeff7d9583a.tar.gz
convert tests; nothing interesting.
R=r OCL=23012 CL=23014
Diffstat (limited to 'test/complit.go')
-rw-r--r--test/complit.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/complit.go b/test/complit.go
index d9b948851..55159be85 100644
--- a/test/complit.go
+++ b/test/complit.go
@@ -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}
}