diff options
| author | Austin Clements <austin@google.com> | 2023-05-31 12:32:29 -0400 |
|---|---|---|
| committer | Austin Clements <austin@google.com> | 2023-06-01 18:30:44 +0000 |
| commit | c2e0bf0abf8d0b22803521dfc2194dc56741e0dd (patch) | |
| tree | 5dc4c25bb73a35c899eff55b7c54615e71ec3d10 /test/codegen | |
| parent | 563556ccc7c4099ac896c87178043b60365d33b5 (diff) | |
| download | go-c2e0bf0abf8d0b22803521dfc2194dc56741e0dd.tar.xz | |
cmd/internal/testdir: pass if GOEXPERIMENT=cgocheck2 is set
Some testdir tests fail if GOEXPERIMENT=cgocheck2 is set. Fix this by
skipping these tests.
Change-Id: I58d4ef0cceb86bcf93220b4a44de9b9dc4879b16
Reviewed-on: https://go-review.googlesource.com/c/go/+/499675
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Austin Clements <austin@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'test/codegen')
| -rw-r--r-- | test/codegen/structs.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/codegen/structs.go b/test/codegen/structs.go index c4bcb55c63..fc49a69375 100644 --- a/test/codegen/structs.go +++ b/test/codegen/structs.go @@ -1,5 +1,8 @@ // asmcheck +//go:build !goexperiment.cgocheck2 +// +build !goexperiment.cgocheck2 + // Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. |
