# Check that we can build a module with no tagged versions by querying
# "@latest" through a proxy.
# Verifies golang.org/issue/32636

env GO111MODULE=on

go mod init m
go get -d example.com/notags
go list -m all
stdout '^example.com/notags v0.0.0-20190507143103-cc8cbe209b64$'
