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 | 839a68469b6f8bf40620a7977041e089bbd0eba3 (patch) | |
tree | f8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /test/method2.go | |
parent | 0183baaf449338f54727814d079c0254c18226f9 (diff) | |
download | go-839a68469b6f8bf40620a7977041e089bbd0eba3.tar.gz go-839a68469b6f8bf40620a7977041e089bbd0eba3.zip |
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 9a32dd6b6a..3ee0ae1364 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" |