OSDN Git Service

Remove the types float and complex.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / go.test / test / fixedbugs / bug010.go
index e71c4d7..7d96988 100644 (file)
@@ -7,14 +7,14 @@
 package main
 
 
-func f(i int, f float) {
-       i = 8;
-       f = 8.0;
-       return;
+func f(i int, f float64) {
+       i = 8
+       f = 8.0
+       return
 }
 
 func main() {
-       f(3, float(5))
+       f(3, float64(5))
 }
 
 /*