src/cmd/cgo/internal/testgodefs/testdata/issue37621.go
raw| 1 | // Copyright 2020 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 | //go:build ignore |
| 6 | |
| 7 | package main |
| 8 | |
| 9 | /* |
| 10 | struct tt { |
| 11 | long long a; |
| 12 | long long b; |
| 13 | }; |
| 14 | |
| 15 | struct s { |
| 16 | struct tt ts[3]; |
| 17 | }; |
| 18 | */ |
| 19 | import "C" |
| 20 | |
| 21 | type TT C.struct_tt |
| 22 | |
| 23 | type S C.struct_s |