diff options
Diffstat (limited to 'misc/cgo/testso/cgoso_c.c')
-rw-r--r-- | misc/cgo/testso/cgoso_c.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/cgo/testso/cgoso_c.c b/misc/cgo/testso/cgoso_c.c new file mode 100644 index 000000000..e29f7e807 --- /dev/null +++ b/misc/cgo/testso/cgoso_c.c @@ -0,0 +1,9 @@ +// Copyright 2011 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. + +void sofunc(void) +{ + extern void goCallback(void); + goCallback(); +} |