diff --git a/test/go/hello.go b/test/go/hello.go index 5235bed..7534209 100644 --- a/test/go/hello.go +++ b/test/go/hello.go @@ -1,12 +1,15 @@ package main +// #define _FILE_OFFSET_BITS 64 +// #include +// #include // #include // char* hello() { return "hello, world"; } -// void printhello() { printf("%s\n", hello()); } +// void phello() { printf("%s, your lucky number is %p\n", hello(), fcntl); } import "C" func main() { - C.printhello() + C.phello() } func Chello() string {