From: Ian Lance Taylor Date: Wed, 31 Oct 2012 03:56:32 +0000 (-0700) Subject: test: match gccgo error messages for bug358.go X-Git-Tag: go1.1rc2~2022 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=7dc1182c274e469c5b27e2284bc4876118b2ae6d;p=gostls13.git test: match gccgo error messages for bug358.go I fixed a bug in gccgo that was causing it to only give an error for the first package that was imported and not used. R=golang-dev, r CC=golang-dev https://golang.org/cl/6813058 --- diff --git a/test/fixedbugs/bug358.go b/test/fixedbugs/bug358.go index 6a008484f4..063c2e0bf8 100644 --- a/test/fixedbugs/bug358.go +++ b/test/fixedbugs/bug358.go @@ -12,7 +12,7 @@ package main import ( "io/ioutil" // GCCGO_ERROR "imported and not used" "net/http" - "os" + "os" // GCCGO_ERROR "imported and not used" ) func makeHandler(fn func(http.ResponseWriter, *http.Request, string)) http.HandlerFunc {