aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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