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/method2.go | |
parent | b35f63b2763fbba37baefeddabdeb8d5c6132ea5 (diff) | |
download | go-72da6a7ce95c427fa91aafa30e0ccd4f64c871db.tar.gz |
delete export
TBR=r
OCL=23121
CL=23127
Diffstat (limited to 'test/method2.go')
-rw-r--r-- | test/method2.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/method2.go b/test/method2.go index 9a32dd6b6..3ee0ae136 100644 --- a/test/method2.go +++ b/test/method2.go @@ -6,9 +6,9 @@ package main -export type T struct {a int} -export type P *T -export type P1 *T +type T struct {a int} +type P *T +type P1 *T func (p P) val() int { return 1 } // ERROR "receiver" func (p *P1) val() int { return 1 } // ERROR "receiver" |