env GO111MODULE=off

# Regression test for golang.org/issue/6844:
# 'go test -a' should force dependencies in the standard library to be rebuilt.

[short] skip

go test -x -a -c testdata/dep_test.go
stderr '^.*[/\\]compile'$GOEXE'["]? (.* )?regexp .*[/\\]regexp\.go'

-- testdata/dep_test.go --
package deps

import _ "testing"
