libgo/misc/cgo/testgodefs/testdata/issue48396.go
raw| 1 | // Copyright 2021 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 | // +build ignore |
| 6 | |
| 7 | package main |
| 8 | |
| 9 | /* |
| 10 | // from <linux/kcm.h> |
| 11 | struct issue48396 { |
| 12 | int fd; |
| 13 | int bpf_fd; |
| 14 | }; |
| 15 | */ |
| 16 | import "C" |
| 17 | |
| 18 | type Issue48396 C.struct_issue48396 |