summaryrefslogtreecommitdiff
path: root/test/bigalg.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/bigalg.go
parentdbfbdc283ac50455e365a40912828137e215ebde (diff)
downloadgo-976529fd654f2cdf6ca21afcdeddedeff7d9583a.tar.gz
convert tests; nothing interesting.
R=r OCL=23012 CL=23014
Diffstat (limited to 'test/bigalg.go')
-rw-r--r--test/bigalg.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bigalg.go b/test/bigalg.go
index 434eecf5d..a77a9ec8d 100644
--- a/test/bigalg.go
+++ b/test/bigalg.go
@@ -11,7 +11,7 @@ import (
"fmt";
)
-type T struct {
+export type T struct {
a float64;
b int64;
c string;
@@ -19,7 +19,7 @@ type T struct {
}
var a = []int{ 1, 2, 3 }
-var NIL []int;
+export var NIL []int;
func arraycmptest() {
a1 := a;
@@ -34,7 +34,7 @@ func arraycmptest() {
}
}
-func SameArray(a, b []int) bool {
+export func SameArray(a, b []int) bool {
if len(a) != len(b) || cap(a) != cap(b) {
return false;
}
@@ -103,7 +103,7 @@ func chantest() {
}
}
-type E struct { }
+export type E struct { }
var e E
func interfacetest() {