diff options
Diffstat (limited to 'tests/core/cgo/use_external_symbol.go')
-rw-r--r-- | tests/core/cgo/use_external_symbol.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/core/cgo/use_external_symbol.go b/tests/core/cgo/use_external_symbol.go new file mode 100644 index 00000000..70980ea7 --- /dev/null +++ b/tests/core/cgo/use_external_symbol.go @@ -0,0 +1,10 @@ +package use_external_symbol + +/* +void external_symbol(); +*/ +import "C" + +func UseExternalSymbol() { + C.external_symbol() +} |