diff options
Diffstat (limited to 'src/os/user/cgo_user_test.go')
-rw-r--r-- | src/os/user/cgo_user_test.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/os/user/cgo_user_test.go b/src/os/user/cgo_user_test.go new file mode 100644 index 0000000..0458495 --- /dev/null +++ b/src/os/user/cgo_user_test.go @@ -0,0 +1,11 @@ +// Copyright 2023 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. + +//go:build cgo && !osusergo + +package user + +func init() { + hasCgo = true +} |