diff options
author | Ian Lance Taylor <iant@golang.org> | 2013-12-12 19:02:11 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2013-12-12 19:02:11 -0800 |
commit | d270e6f28c803cc9fb53f5adc2b935f73b146f86 (patch) | |
tree | 6fda2b46374513f4dd355a8dbc9e4a74cfcf954c /test/import1.go | |
parent | 74a43546b03e521eb70a3bfd6a84123ffc4e12c2 (diff) | |
download | go-d270e6f28c803cc9fb53f5adc2b935f73b146f86.tar.gz go-d270e6f28c803cc9fb53f5adc2b935f73b146f86.zip |
test: match gccgo import error messages
Gccgo doesn't have the same equivalent of file name and
package as the gc compiler, so the error messages are
necessarily different.
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/40510048
Diffstat (limited to 'test/import1.go')
-rw-r--r-- | test/import1.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/import1.go b/test/import1.go index d2bb55cbff..2433b5f2ad 100644 --- a/test/import1.go +++ b/test/import1.go @@ -15,5 +15,5 @@ import bufio "os" // ERROR "redeclared|redefinition|incompatible" "imported and import ( "fmt" // GCCGO_ERROR "previous|not used" fmt "math" // ERROR "redeclared|redefinition|incompatible" "imported and not used: \x22math\x22 as fmt" - . "math" // ERROR "imported and not used: \x22math\x22$" + . "math" // GC_ERROR "imported and not used: \x22math\x22$" ) |