blob: d84c8a6472fefb8296bc1389db762f2b5dce1398 [file] [log] [blame]
env GO111MODULE=off
# Issue 35837. Verify that "go vet -<analyzer> <std package>" works if 'pwd' is not $GOROOT/src
# we utilize the package runtime/testdata/testprog as the issue is specific to vetting standard package
go vet -n -unreachable=false runtime/testdata/testprog
stderr '-unreachable=false'
stderr '-unsafeptr=false'