summaryrefslogtreecommitdiff
path: root/test/func1.go
diff options
context:
space:
mode:
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
}