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/prove_invert_loop_with_unused_iterators.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/prove_invert_loop_with_unused_iterators.go')
-rw-r--r-- | test/prove_invert_loop_with_unused_iterators.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/prove_invert_loop_with_unused_iterators.go b/test/prove_invert_loop_with_unused_iterators.go index f278e5aee0..c66f20b6e9 100644 --- a/test/prove_invert_loop_with_unused_iterators.go +++ b/test/prove_invert_loop_with_unused_iterators.go @@ -1,6 +1,7 @@ -// +build amd64 // errorcheck -0 -d=ssa/prove/debug=1 +//go:build amd64 + package main func invert(b func(), n int) { |