Files
Nim/tests/compiler/tcmdlineclib.nim
Tomohiro 2a34d143ac Fix #16937; --clib option pass library name to backend C compiler correctly (#19754)
* 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>
2022-09-01 13:57:17 -04:00

4 lines
60 B
Nim

proc test(): int {.importc, cdecl.}
doAssert test() == 123