]> Cypherpunks repositories - gostls13.git/commitdiff
test: match gccgo error messages for bug358.go
authorIan Lance Taylor <iant@golang.org>
Wed, 31 Oct 2012 03:56:32 +0000 (20:56 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 31 Oct 2012 03:56:32 +0000 (20:56 -0700)
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

test/fixedbugs/bug358.go

index 6a008484f4f2bbac29c8b80caaca955182ba9469..063c2e0bf8d916f5866803a49414074cbc90a35b 100644 (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 {