Commit 8bbe748b authored by Ian Lance Taylor's avatar Ian Lance Taylor

Enable these tests. Fix divconst.go and modconst.go to

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
parent 83cbca56
...@@ -458,8 +458,6 @@ u8run() ...@@ -458,8 +458,6 @@ u8run()
} }
} }
func xtest()
func func
main() main()
{ {
......
...@@ -458,8 +458,6 @@ u8run() ...@@ -458,8 +458,6 @@ u8run()
} }
} }
func xtest()
func func
main() main()
{ {
......
// # errchk $G $D/$F.go // errchk $G $D/$F.go
// Copyright 2009 The Go Authors. All rights reserved. // Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style // Use of this source code is governed by a BSD-style
...@@ -14,5 +14,4 @@ func f(int, string); // GCCGO_ERROR "previous" ...@@ -14,5 +14,4 @@ func f(int, string); // GCCGO_ERROR "previous"
func f(int, float) { } // ERROR "redeclared|redefinition" func f(int, float) { } // ERROR "redeclared|redefinition"
func g(a int, b string); // GCCGO_ERROR "previous" 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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment