aboutsummaryrefslogtreecommitdiff
path: root/misc/cgo/test/issue52611.go
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cgo/test/issue52611.go')
-rw-r--r--misc/cgo/test/issue52611.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/cgo/test/issue52611.go b/misc/cgo/test/issue52611.go
index 2b59d521f7..a190a10884 100644
--- a/misc/cgo/test/issue52611.go
+++ b/misc/cgo/test/issue52611.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+//go:build cgo
+
// Issue 52611: inconsistent compiler behaviour when compiling a C.struct.
// No runtime test; just make sure it compiles.