Created
October 7, 2013 18:13
-
-
Save steeve/6872454 to your computer and use it in GitHub Desktop.
When run on Windows/386, outputs values like "4603183328" instead of "1".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
// #include <stdio.h> | |
// #include <stdint.h> | |
// int64_t get(int n) | |
// { | |
// return 1; | |
// } | |
import "C" | |
import ( | |
"fmt" | |
) | |
func main() { | |
fmt.Println(C.get(1)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment