aboutsummaryrefslogtreecommitdiff
path: root/test/intrinsic.go
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2023-10-17 15:07:58 -0400
committerGopher Robot <gobot@golang.org>2023-10-19 23:33:25 +0000
commitb2fd76ab8dd72b9f2135c1e9b15130e6028fc838 (patch)
tree0d37261f11b8c550cd4e3b761798415a1319ee69 /test/intrinsic.go
parentff6dd7125e70976063c412d9f52f8b19ee2c08fb (diff)
downloadgo-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/intrinsic.go')
-rw-r--r--test/intrinsic.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/intrinsic.go b/test/intrinsic.go
index 0b783d15df..702b6acaf8 100644
--- a/test/intrinsic.go
+++ b/test/intrinsic.go
@@ -1,5 +1,6 @@
// errorcheckandrundir -0 -d=ssa/intrinsics/debug
-// +build amd64 arm64 arm s390x
+
+//go:build amd64 || arm64 || arm || s390x
// Copyright 2016 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style