summaryrefslogtreecommitdiff
path: root/test/method1.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-08-21 15:43:23 -0700
committerIan Lance Taylor <iant@golang.org>2009-08-21 15:43:23 -0700
commit0f9d8d2147b56eb6eb3c6e277799cde8da282f3d (patch)
treecc792baef7db776dde30a58efd7e1b50036b871d /test/method1.go
parentdc0a7c6e05bb4e992821bb5e7410760a5e91379b (diff)
downloadgo-0f9d8d2147b56eb6eb3c6e277799cde8da282f3d.tar.gz
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
Diffstat (limited to 'test/method1.go')
-rw-r--r--test/method1.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/method1.go b/test/method1.go
index b6aacfea4..a562e3663 100644
--- a/test/method1.go
+++ b/test/method1.go
@@ -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"