introduce TDF_compare_debug, omit OBJ_TYPE_REF casts with it
[official-gcc.git] / libgo / misc / cgo / test / issue6472.go
blobd416a05e29ddb7b350cabcc59b6a08de2c0aa303
1 // Copyright 2013 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 package cgotest
7 /*
8 typedef struct
10 struct
12 int x;
13 } y[16];
14 } z;
16 import "C"
18 func test6472() {
19 // nothing to run, just make sure this compiles
20 s := new(C.z)
21 println(s.y[0].x)