diff options
Diffstat (limited to 'tests/legacy/cgo_sys_hdr/foo.go')
-rw-r--r-- | tests/legacy/cgo_sys_hdr/foo.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/legacy/cgo_sys_hdr/foo.go b/tests/legacy/cgo_sys_hdr/foo.go new file mode 100644 index 00000000..0b13584f --- /dev/null +++ b/tests/legacy/cgo_sys_hdr/foo.go @@ -0,0 +1,8 @@ +package cgo_sys_hdr + +/* +#include <sub/foo.h> +*/ +import "C" + +var x = int(C.x) |