introduce TDF_compare_debug, omit OBJ_TYPE_REF casts with it
[official-gcc.git] / libgo / misc / cgo / test / issue8945.go
blob57a5b2db44bbbb6cd1d7cbbf5c2abf4cd76dcfae
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 // +build gccgo
7 package cgotest
9 //typedef void (*PFunc)();
10 //PFunc success_cb;
11 import "C"
13 //export Test
14 func Test() {
15 _ = C.success_cb