blob: 209005981a9bd094e4c07c279f190427b61d5ec8 [file] [log] [blame]
// go:build ignore
package B
import (
type internal struct{}
func (i internal) Vuln() {}
func B1() {
A.A1() // transitive vuln use but should not be reported
var i A.I
i = internal{}
i.Vuln() // no vuln use
// Part of a test program consisting of packages found in
// vuln.go, a_dep.go, and b_dep.go. For more details, see
// testProgAndEnv function in helpers_test.go.