mirror of
https://github.com/golang/go
synced 2024-11-14 09:20:28 -07:00
24 lines
327 B
Go
24 lines
327 B
Go
|
// Copyright 2020 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.
|
||
|
//
|
||
|
// +build ignore
|
||
|
|
||
|
package main
|
||
|
|
||
|
/*
|
||
|
struct tt {
|
||
|
long long a;
|
||
|
long long b;
|
||
|
};
|
||
|
|
||
|
struct s {
|
||
|
struct tt ts[3];
|
||
|
};
|
||
|
*/
|
||
|
import "C"
|
||
|
|
||
|
type TT C.struct_tt
|
||
|
|
||
|
type S C.struct_s
|