diff options
author | Dmitri Shuralyov <dmitshur@golang.org> | 2023-10-17 15:07:58 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2023-10-19 23:33:25 +0000 |
commit | b2fd76ab8dd72b9f2135c1e9b15130e6028fc838 (patch) | |
tree | 0d37261f11b8c550cd4e3b761798415a1319ee69 /test/nilptr.go | |
parent | ff6dd7125e70976063c412d9f52f8b19ee2c08fb (diff) | |
download | go-b2fd76ab8dd72b9f2135c1e9b15130e6028fc838.tar.gz go-b2fd76ab8dd72b9f2135c1e9b15130e6028fc838.zip |
test: migrate remaining files to go:build syntax
Most of the test cases in the test directory use the new go:build syntax
already. Convert the rest. In general, try to place the build constraint
line below the test directive comment in more places.
For #41184.
For #60268.
Change-Id: I11c41a0642a8a26dc2eda1406da908645bbc005b
Cq-Include-Trybots: luci.golang.try:gotip-linux-386-longtest,gotip-linux-amd64-longtest,gotip-windows-amd64-longtest
Reviewed-on: https://go-review.googlesource.com/c/go/+/536236
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'test/nilptr.go')
-rw-r--r-- | test/nilptr.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/nilptr.go b/test/nilptr.go index b296c88c99..7f42e930bd 100644 --- a/test/nilptr.go +++ b/test/nilptr.go @@ -7,10 +7,8 @@ // Test that the implementation catches nil ptr indirection // in a large address space. -// +build !aix -// +build !darwin !arm64 -// +build !windows !arm64 // Address space starts at 1<<32 on AIX and on darwin/arm64 and on windows/arm64, so dummy is too far. +//go:build !aix && (!darwin || !arm64) && (!windows || !arm64) package main |