diff options
author | Rob Pike <r@golang.org> | 2010-09-04 10:36:13 +1000 |
---|---|---|
committer | Rob Pike <r@golang.org> | 2010-09-04 10:36:13 +1000 |
commit | 4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c (patch) | |
tree | 094ba2238e5596358b6ae4db5789c7d1fee4ecb7 /test/method1.go | |
parent | cd8f4cd2068964bfa12e10cd094d41ddd725af4f (diff) | |
download | go-git-4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c.tar.gz |
test: remove semiocolons.
The ken directory is untouched so we have some examples with explicit semis.
R=gri
CC=golang-dev
https://golang.org/cl/2157041
Diffstat (limited to 'test/method1.go')
-rw-r--r-- | test/method1.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/method1.go b/test/method1.go index a562e3663e..1a2f8cae53 100644 --- a/test/method1.go +++ b/test/method1.go @@ -7,11 +7,11 @@ package main type T struct { } -func (t *T) M(int, string); // GCCGO_ERROR "previous" +func (t *T) M(int, string) // GCCGO_ERROR "previous" func (t *T) M(int, float) { } // ERROR "redeclared|redefinition" -func f(int, string); // GCCGO_ERROR "previous" +func f(int, string) // GCCGO_ERROR "previous" func f(int, float) { } // ERROR "redeclared|redefinition" -func g(a int, b string); // GCCGO_ERROR "previous" -func g(a int, c string); // ERROR "redeclared|redefinition" +func g(a int, b string) // GCCGO_ERROR "previous" +func g(a int, c string) // ERROR "redeclared|redefinition" |