aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/atomic_pointer.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-10-21 12:04:31 -0400
committerRuss Cox <rsc@golang.org>2016-10-28 20:32:29 +0000
commit0f06d0a051714d14b923b0a9164ab1b3f463aa74 (patch)
tree12a02d8998590c57322a7dfa78cbe9447a2587c2 /src/runtime/atomic_pointer.go
parent91c1cdfbdbecbc33ad396f55d9e8b5619959fde1 (diff)
downloadgo-0f06d0a051714d14b923b0a9164ab1b3f463aa74.tar.xz
cmd/go: apply import restrictions to test code too
We reject import of main packages, but we missed tests. Reject in all tests except test of that main package. We reject local (relative) imports from code with a non-local import path, but again we missed tests. Reject those too. Fixes #14811. Fixes #15795. Fixes #17475. Change-Id: I535ff26889520276a891904f54f1a85b2c40207d Reviewed-on: https://go-review.googlesource.com/31821 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Quentin Smith <quentin@golang.org>
Diffstat (limited to 'src/runtime/atomic_pointer.go')
0 files changed, 0 insertions, 0 deletions