repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
introduce TDF_compare_debug, omit OBJ_TYPE_REF casts with it
[official-gcc.git]
/
libgo
/
misc
/
cgo
/
test
/
issue8945.go
blob
57a5b2db44bbbb6cd1d7cbbf5c2abf4cd76dcfae
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.
4
5
// +build gccgo
6
7
package
cgotest
8
9
//typedef void (*PFunc)();
10
//PFunc success_cb;
11
import
"C"
12
13
//export Test
14
func
Test
() {
15
_
=
C
.
success_cb
16
}