summaryrefslogtreecommitdiff
path: root/test/func3.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
committerRob Pike <r@golang.org>2010-09-04 10:36:13 +1000
commit7c2e17b3e6e4c36a3713e272653dcfc9c2056cfd (patch)
treeb5e309f8922e2f29902d7e085ad3943bb480b856 /test/func3.go
parent83798de970b62e4a4e7b72b9ef53a5d66f71dc3c (diff)
downloadgo-7c2e17b3e6e4c36a3713e272653dcfc9c2056cfd.tar.gz
test: remove semiocolons.
The ken directory is untouched so we have some examples with explicit semis. R=gri CC=golang-dev http://codereview.appspot.com/2157041
Diffstat (limited to 'test/func3.go')
-rw-r--r--test/func3.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/func3.go b/test/func3.go
index 33e80a716..110b0ef1c 100644
--- a/test/func3.go
+++ b/test/func3.go
@@ -6,12 +6,12 @@
package main
-type t1 int;
-type t2 int;
-type t3 int;
+type t1 int
+type t2 int
+type t3 int
-func f1(*t2, x t3); // ERROR "named"
-func f2(t1, *t2, x t3); // ERROR "named"
-func f3() (x int, *string); // ERROR "named"
+func f1(*t2, x t3) // ERROR "named"
+func f2(t1, *t2, x t3) // ERROR "named"
+func f3() (x int, *string) // ERROR "named"
-func f4() (t1 t1); // legal - scope of parameter named t1 starts in body of f4.
+func f4() (t1 t1) // legal - scope of parameter named t1 starts in body of f4.