* Fix 16937: Make --clib option works * Make tests/compiler/tcmdlineclib.nim works from any current dir * Try to fix link error on macosx * Add a comment to tests/compiler/tcmdlineclib.nims Co-authored-by: Clay Sweetser <Varriount@users.noreply.github.com>
3 lines
60 B
Nim
3 lines
60 B
Nim
proc test(): int {.importc, cdecl.}
|
|
|
|
doAssert test() == 123
|