aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2010-02-01 16:35:23 -0800
committerIan Lance Taylor <iant@golang.org>2010-02-01 16:35:23 -0800
commit60f27f0d6bd3f2dad0e63e0f630777507884b64e (patch)
tree8b5e68c569cb52cebb68079f9548ad4936ff5944
parent8d6054ae81ea27f650bcbb51ac44c0d80aed981e (diff)
downloadgo-60f27f0d6bd3f2dad0e63e0f630777507884b64e.tar.gz
go-60f27f0d6bd3f2dad0e63e0f630777507884b64e.zip
Match gccgo error messages.
import1.go:12:8: error: redefinition of ‘bufio’ import1.go:11:8: note: previous definition of ‘bufio’ was here import1.go:16:2: error: redefinition of ‘fmt’ import1.go:15:2: note: previous definition of ‘fmt’ was here import1.go:11:8: error: imported and not used: bufio R=rsc CC=golang-dev https://golang.org/cl/194165
-rw-r--r--test/import1.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/import1.go b/test/import1.go
index baed207cc0..351462a265 100644
--- a/test/import1.go
+++ b/test/import1.go
@@ -8,10 +8,10 @@
package main
-import "bufio" // GCCGO_ERROR "previous"
+import "bufio" // GCCGO_ERROR "previous|not used"
import bufio "os" // ERROR "redeclared|redefinition|incompatible"
import (
- "fmt"; // GCCGO_ERROR "previous"
+ "fmt"; // GCCGO_ERROR "previous|not used"
fmt "math"; // ERROR "redeclared|redefinition|incompatible"
)