mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +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 (
|
import (
|
||||||
"io/ioutil" // GCCGO_ERROR "imported and not used"
|
"io/ioutil" // GCCGO_ERROR "imported and not used"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os" // GCCGO_ERROR "imported and not used"
|
||||||
)
|
)
|
||||||
|
|
||||||
func makeHandler(fn func(http.ResponseWriter, *http.Request, string)) http.HandlerFunc {
|
func makeHandler(fn func(http.ResponseWriter, *http.Request, string)) http.HandlerFunc {
|
||||||
|
|
Loading…
Reference in a new issue