]> Cypherpunks.ru repositories - gostls13.git/commitdiff
Match gccgo error messages.
authorIan Lance Taylor <iant@golang.org>
Tue, 2 Feb 2010 00:35:23 +0000 (16:35 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 2 Feb 2010 00:35:23 +0000 (16:35 -0800)
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

test/import1.go

index baed207cc02987d9305b307f0343fb4c07e36683..351462a265dadf54349121365e9da77172c66cf3 100644 (file)
@@ -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"
 )