aboutsummaryrefslogtreecommitdiff
path: root/libgo/misc/cgo/test/issue8945.go
blob: 57a5b2db44bbbb6cd1d7cbbf5c2abf4cd76dcfae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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 gccgo

package cgotest

//typedef void (*PFunc)();
//PFunc success_cb;
import "C"

//export Test
func Test() {
	_ = C.success_cb
}