1 // Copyright 2014 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.
5 // Issue 8368 and 8441. Recursive struct definitions didn't work.
6 // No runtime test; just make sure it compiles.
11 typedef struct one one;
12 typedef struct two two;
22 func issue8368(one *C.struct_one, two *C.struct_two) {
25 func issue8441(one *C.one, two *C.two) {
26 issue8441(two.x, one.x)