summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug035.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug035.go')
-rw-r--r--test/fixedbugs/bug035.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/fixedbugs/bug035.go b/test/fixedbugs/bug035.go
index 461c0607a..bd2a633f2 100644
--- a/test/fixedbugs/bug035.go
+++ b/test/fixedbugs/bug035.go
@@ -6,8 +6,8 @@
package main
-func f9(a int) (i int, f float) {
- i := 9; // ERROR "redecl|no new"
- f := float(9); // ERROR "redecl|no new"
- return i, f;
+func f9(a int) (i int, f float64) {
+ i := 9 // ERROR "redecl|no new"
+ f := float64(9) // ERROR "redecl|no new"
+ return i, f
}