]> Cypherpunks.ru repositories - gostls13.git/commitdiff
Enable these tests. Fix divconst.go and modconst.go to
authorIan Lance Taylor <iant@golang.org>
Fri, 21 Aug 2009 22:43:23 +0000 (15:43 -0700)
committerIan Lance Taylor <iant@golang.org>
Fri, 21 Aug 2009 22:43:23 +0000 (15:43 -0700)
compile with the current compiler.  Adjust expected error
message in method1.go to match 6g output.

R=rsc
DELTA=9  (2 added, 5 deleted, 2 changed)
OCL=33674
CL=33682

test/ken/divconst.go
test/ken/modconst.go
test/method1.go

index 5801975eb39549ab2bce2c9f31a926f2f732b412..29f1b067c94f7691cc2713f7f9894b9644aea316 100644 (file)
@@ -458,8 +458,6 @@ u8run()
        }
 }
 
-func   xtest()
-
 func
 main()
 {
index ad720f448be9315051eefe88cc949b59dbd7342c..7c35edeaa9cd0d4089eebe43136fc7097ff05771 100644 (file)
@@ -458,8 +458,6 @@ u8run()
        }
 }
 
-func   xtest()
-
 func
 main()
 {
index b6aacfea4d73b797a6271720091ffe9034d6b2c1..a562e3663ea29850a698247a72fd14cdbc74b29b 100644 (file)
@@ -1,4 +1,4 @@
-// errchk $G $D/$F.go
+// errchk $G $D/$F.go
 
 // Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
@@ -14,5 +14,4 @@ func f(int, string);  // GCCGO_ERROR "previous"
 func f(int, float) { }  // ERROR "redeclared|redefinition"
 
 func g(a int, b string);  // GCCGO_ERROR "previous"
-func g(a int, c string);  // ERROR "names changed"
-
+func g(a int, c string);  // ERROR "redeclared|redefinition"