mirror of
https://github.com/golang/go
synced 2024-11-26 21:01:31 -07:00
449cc06e98
Update two tests for the recently submitted gccgo change https://golang.org/cl/14259. Change-Id: Ib18bc87ea512074aa91fd4096d0874b72e2243e5 Reviewed-on: https://go-review.googlesource.com/15493 Reviewed-by: Chris Manghane <cmang@golang.org>
13 lines
531 B
Go
13 lines
531 B
Go
package p
|
|
|
|
import (
|
|
"./a" // ERROR "imported and not used: \x22a\x22 as surprise|imported and not used: surprise"
|
|
"./b" // ERROR "imported and not used: \x22b\x22 as surprise2|imported and not used: surprise2"
|
|
b "./b" // ERROR "imported and not used: \x22b\x22$|imported and not used: surprise2"
|
|
foo "math" // ERROR "imported and not used: \x22math\x22 as foo|imported and not used: math"
|
|
"fmt" // actually used
|
|
"strings" // ERROR "imported and not used: \x22strings\x22|imported and not used: strings"
|
|
)
|
|
|
|
var _ = fmt.Printf
|