]> Cypherpunks repositories - gostls13.git/commitdiff
test: s/float/float64/
authorIan Lance Taylor <iant@golang.org>
Fri, 21 Jan 2011 16:37:58 +0000 (08:37 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 21 Jan 2011 16:37:58 +0000 (08:37 -0800)
Otherwise gccgo gives an extra error message not matched by errchk.

R=adg, rsc
CC=golang-dev
https://golang.org/cl/4053042

test/method1.go

index 1a2f8cae538343720883bf5ccc954589f875a961..ec14ef9e4f4549602c138a14da48f3ec0b1d2c0f 100644 (file)
@@ -8,10 +8,10 @@ package main
 
 type T struct { }
 func (t *T) M(int, string)     // GCCGO_ERROR "previous"
-func (t *T) M(int, float) { }   // ERROR "redeclared|redefinition"
+func (t *T) M(int, float64) { }   // ERROR "redeclared|redefinition"
 
 func f(int, string)    // GCCGO_ERROR "previous"
-func f(int, float) { }  // ERROR "redeclared|redefinition"
+func f(int, float64) { }  // ERROR "redeclared|redefinition"
 
 func g(a int, b string)  // GCCGO_ERROR "previous"
 func g(a int, c string)  // ERROR "redeclared|redefinition"