src/cmd/cgo/internal/testshared/testdata/issue62277/p/p.go
raw| 1 | // Copyright 2023 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package p |
| 6 | |
| 7 | var S = func() []string { |
| 8 | return []string{"LD_LIBRARY_PATH"} |
| 9 | }() |
| 10 | |
| 11 | var T []string |
| 12 | |
| 13 | func init() { |
| 14 | T = func() []string { |
| 15 | return []string{"LD_LIBRARY_PATH"} |
| 16 | }() |
| 17 | } |