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
commit4f61fc96b2788be7cbfc6f7a72acef3d3feeeb6c (patch)
tree094ba2238e5596358b6ae4db5789c7d1fee4ecb7 /test/func1.go
parentcd8f4cd2068964bfa12e10cd094d41ddd725af4f (diff)
downloadgo-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/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 2c767d21d5..56f4dfcba4 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
}