aboutsummaryrefslogtreecommitdiff
path: root/test/inline_endian.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2021-10-06 13:42:17 -0700
committerJosh Bleecher Snyder <josharian@gmail.com>2021-10-07 00:39:17 +0000
commit812a33dc7df6a4f7b8b0bd2e6ea6500f312b3fed (patch)
treec71d5aa64cf8416273ea1167776ae758ec1a5e57 /test/inline_endian.go
parentc8dd89ed3dde52933d981d7d7c4c200160f47ec3 (diff)
downloadgo-812a33dc7df6a4f7b8b0bd2e6ea6500f312b3fed.tar.gz
go-812a33dc7df6a4f7b8b0bd2e6ea6500f312b3fed.zip
test: skip endian inlining test on noopt builder
Change-Id: I73b1ac23f322bcaff36eff7a5829654f299c1fdd Reviewed-on: https://go-review.googlesource.com/c/go/+/354353 Trust: Josh Bleecher Snyder <josharian@gmail.com> Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'test/inline_endian.go')
-rw-r--r--test/inline_endian.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/inline_endian.go b/test/inline_endian.go
index baca133452..e00e06a75e 100644
--- a/test/inline_endian.go
+++ b/test/inline_endian.go
@@ -1,7 +1,8 @@
// errorcheckwithauto -0 -m -d=inlfuncswithclosures=1
-//go:build 386 || amd64 || arm64 || ppc64le || s390x
+//go:build (386 || amd64 || arm64 || ppc64le || s390x) && !gcflags_noopt
// +build 386 amd64 arm64 ppc64le s390x
+// +build !gcflags_noopt
// Copyright 2021 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style