summaryrefslogtreecommitdiff
path: root/test/method.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
committerRuss Cox <rsc@golang.org>2009-01-20 14:40:40 -0800
commit4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch)
treef8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /test/method.go
parent3986ef877ccd4db750b5050e318dff78f7e55d19 (diff)
downloadgolang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz
delete export
TBR=r OCL=23121 CL=23127
Diffstat (limited to 'test/method.go')
-rw-r--r--test/method.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/method.go b/test/method.go
index f57c26907..6dba3d178 100644
--- a/test/method.go
+++ b/test/method.go
@@ -6,12 +6,12 @@
package main
-export type S string
-export type S1 string
-export type I int
-export type I1 int
-export type T struct { x int }
-export type T1 T
+type S string
+type S1 string
+type I int
+type I1 int
+type T struct { x int }
+type T1 T
func (s S) val() int { return 1 }
func (s *S1) val() int { return 2 }
@@ -20,7 +20,7 @@ func (i *I1) val() int { return 4 }
//func (t T) val() int { return 7 }
func (t *T1) val() int { return 8 }
-export type Val interface {
+type Val interface {
val() int
}