You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
531 B
13 lines
531 B
7 months ago
|
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
|