mirror of
https://github.com/golang/go
synced 2024-09-06 00:19:45 +00:00
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:
parent
3494010f7d
commit
7dc1182c27
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue