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 56f4dfcba..056ff9877 100644
--- a/test/func1.go
+++ b/test/func1.go
@@ -8,11 +8,11 @@
package main
-func f1(a int) (int, float) { // BUG (not caught by compiler): multiple return values must have names
+func f1(a int) (int, float32) { // BUG (not caught by compiler): multiple return values must have names
return 7, 7.0
}
-func f2(a int) (a int, b float) { // ERROR "redeclared|definition"
+func f2(a int) (a int, b float32) { // ERROR "redeclared|definition"
return 8, 8.0
}