test.nim 149 B

1234567891011
  1. discard """
  2. output: '''44'''
  3. joinable: "false"
  4. """
  5. {.compile: "test.c".}
  6. proc foo(a, b: cint): cint {.importc: "foo", cdecl.}
  7. echo foo(40, 4)