From 4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Sat, 4 Sep 2010 10:36:13 +1000 Subject: 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 --- test/method1.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test/method1.go') 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" -- cgit v1.2.1