summaryrefslogtreecommitdiff
path: root/test/func1.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/func1.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/func1.go')
-rw-r--r--test/func1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/func1.go b/test/func1.go
index 2c767d21d..56f4dfcba 100644
--- a/test/func1.go
+++ b/test/func1.go
@@ -9,10 +9,10 @@
package main
func f1(a int) (int, float) { // BUG (not caught by compiler): multiple return values must have names
- return 7, 7.0;
+ return 7, 7.0
}
func f2(a int) (a int, b float) { // ERROR "redeclared|definition"
- return 8, 8.0;
+ return 8, 8.0
}