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
This commit is contained in:
Ian Lance Taylor 2012-10-30 20:56:32 -07:00
parent 3494010f7d
commit 7dc1182c27

View file

@ -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 {