diff options
author | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 |
commit | 72da6a7ce95c427fa91aafa30e0ccd4f64c871db (patch) | |
tree | f8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /test/fixedbugs/bug099.go | |
parent | b35f63b2763fbba37baefeddabdeb8d5c6132ea5 (diff) | |
download | go-72da6a7ce95c427fa91aafa30e0ccd4f64c871db.tar.gz |
delete export
TBR=r
OCL=23121
CL=23127
Diffstat (limited to 'test/fixedbugs/bug099.go')
-rw-r--r-- | test/fixedbugs/bug099.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fixedbugs/bug099.go b/test/fixedbugs/bug099.go index 9bf3525e6..f76f0e873 100644 --- a/test/fixedbugs/bug099.go +++ b/test/fixedbugs/bug099.go @@ -7,22 +7,22 @@ package main // Interface -export type I interface { F() int } +type I interface { F() int } // Implements interface -export type S struct { } +type S struct { } func (s *S) F() int { return 1 } // Allocates S but returns I // Arg is unused but important: // if you take it out (and the 0s below) // then the bug goes away. -export func NewI(i int) I { +func NewI(i int) I { return new(S) } // Uses interface method. -export func Use(x I) { +func Use(x I) { x.F() } |