diff options
author | Ian Lance Taylor <iant@golang.org> | 2010-02-01 16:35:23 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2010-02-01 16:35:23 -0800 |
commit | 985d1495e41415a0d44fb882ef4c30d1be1c666b (patch) | |
tree | 94e1416f6bea50b047f76769cc04e9b7c7509511 /test/import1.go | |
parent | 70781c128d4e404c603356579c58650f6803a66d (diff) | |
download | go-985d1495e41415a0d44fb882ef4c30d1be1c666b.tar.gz |
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
http://codereview.appspot.com/194165
Diffstat (limited to 'test/import1.go')
-rw-r--r-- | test/import1.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/import1.go b/test/import1.go index baed207cc..351462a26 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" ) |