github.com/switchupcb/yaegi@v0.10.2/_test/pkgname1.go (about) 1 package main 2 3 import ( 4 "guthib.com/bar" // pkg name is actually quux 5 ) 6 7 func main() { 8 println("Hello", bar.Quux()) // bar should not be a known symbol. 9 } 10 11 // GOPATH:testdata/redeclaration-global7 12 // Error: 13 // ../_test/pkgname1.go:8:19: undefined: bar