summaryrefslogtreecommitdiffstats
path: root/misc/cgo/testgodefs/testdata/issue8478.go
blob: 232144617118a36fe7022a9caa30e76e5522f781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright 2014 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

// Issue 8478.  Test that void* is consistently mapped to *byte.

/*
typedef struct {
	void *p;
	void **q;
	void ***r;
} s;
*/
import "C"

type Issue8478 C.s