fork(1) download
  1. package main
  2.  
  3. /*
  4. int theAnswer() {
  5. return 42;
  6. }
  7. */
  8. import "C"
  9.  
  10. import "fmt"
  11.  
  12. func main() {
  13. fmt.Println(C.theAnswer())
  14. }
Success #stdin #stdout 0s 13584KB
stdin
Standard input is empty
stdout
42