• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
7package main
8
9/*
10typedef struct A A;
11
12typedef struct {
13	struct A *next;
14	struct A **prev;
15} N;
16
17struct A
18{
19	N n;
20};
21
22typedef struct B
23{
24	A* a;
25} B;
26*/
27import "C"
28
29type N C.N
30
31type A C.A
32
33type B C.B
34