2013-09-09 10:21:09 -06:00
|
|
|
package p
|
|
|
|
|
|
|
|
import (
|
2013-12-12 20:02:11 -07:00
|
|
|
"./a" // ERROR "imported and not used: \x22a\x22 as surprise|imported and not used: surprise"
|
2015-10-06 18:57:46 -06:00
|
|
|
"./b" // ERROR "imported and not used: \x22b\x22 as surprise2|imported and not used: surprise2"
|
2013-12-12 20:02:11 -07:00
|
|
|
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"
|
2013-09-09 10:21:09 -06:00
|
|
|
"fmt" // actually used
|
2013-12-12 20:02:11 -07:00
|
|
|
"strings" // ERROR "imported and not used: \x22strings\x22|imported and not used: strings"
|
2013-09-09 10:21:09 -06:00
|
|
|
)
|
|
|
|
|
|
|
|
var _ = fmt.Printf
|