aboutsummaryrefslogtreecommitdiff
path: root/test/method1.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
commitf48cbfdf5629526ed49534e55298a5a12216ea0c (patch)
tree7da3dc3316609873715c3e6e7871cb2bf57da081 /test/method1.go
parent9f4a27cbe6cc46a82bb9f3e0cb23dda10819be15 (diff)
downloadgo-f48cbfdf5629526ed49534e55298a5a12216ea0c.tar.gz
go-f48cbfdf5629526ed49534e55298a5a12216ea0c.zip
convert tests; nothing interesting.
R=r OCL=23012 CL=23014
Diffstat (limited to 'test/method1.go')
-rw-r--r--test/method1.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/method1.go b/test/method1.go
index c88607d425..d279c50ddf 100644
--- a/test/method1.go
+++ b/test/method1.go
@@ -6,7 +6,7 @@
package main
-type T struct { }
+export type T struct { }
func (t *T) M(int, string); // GCCGO_ERROR "previous"
func (t *T) M(int, float) { } // ERROR "redeclared|redefinition"