summaryrefslogtreecommitdiff
path: root/misc/cgo/testgodefs/issue8478.go
blob: 92258fde7250ee9143b6acc2410a54850414ba70 (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