52fa80f853
Update to edea4a79e8d7dea2456b688f492c8af33d381dc2 which is likely to be approximately the 1.14.2 release. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/227377
34 lines
378 B
Go
34 lines
378 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
|
|
|
|
/*
|
|
typedef struct A A;
|
|
|
|
typedef struct {
|
|
struct A *next;
|
|
struct A **prev;
|
|
} N;
|
|
|
|
struct A
|
|
{
|
|
N n;
|
|
};
|
|
|
|
typedef struct B
|
|
{
|
|
A* a;
|
|
} B;
|
|
*/
|
|
import "C"
|
|
|
|
type N C.N
|
|
|
|
type A C.A
|
|
|
|
type B C.B
|