aboutsummaryrefslogtreecommitdiff
path: root/test/import4.dir
AgeCommit message (Collapse)Author
2022-09-27go/types, types2: use "and not used" instead of "but not used" in error messagesRobert Griesemer
This matches longstanding compiler behavior. Also, for unused packages, report: `"pkg" imported and not used` `"pkg" imported as X and not used` This matches the other `X declared and not used` errors. For #55326. Change-Id: Ie71cf662fb5f4648449c64fc51bede298a1bdcbf Reviewed-on: https://go-review.googlesource.com/c/go/+/432557 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@google.com> Auto-Submit: Robert Griesemer <gri@google.com> Run-TryBot: Robert Griesemer <gri@google.com>
2015-10-07test: adjust gccgo expected import errorsIan Lance Taylor
Update two tests for the recently submitted gccgo change https://golang.org/cl/14259. Change-Id: Ib18bc87ea512074aa91fd4096d0874b72e2243e5 Reviewed-on: https://go-review.googlesource.com/15493 Reviewed-by: Chris Manghane <cmang@golang.org>
2013-12-12test: match gccgo import error messagesIan Lance Taylor
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
2012-10-07test: convert more tests to rundir/compiledir conventionsRémy Oudompheng
Update #4139. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6609051