parent
7739e23420
commit
37ca97dd76
3 changed files with 37 additions and 0 deletions
11
tests/misc/m15955_main.nim
Normal file
11
tests/misc/m15955_main.nim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import stdtest/specialpaths
|
||||
import std/os
|
||||
|
||||
const buildLib = buildDir / "libD20220923T19380"
|
||||
|
||||
{.passL: buildLib.}
|
||||
proc add*(a, b: int):int {.cdecl, importc.}
|
||||
proc sub*(a, b: int):int {.cdecl, importc.}
|
||||
|
||||
echo add(10, 5)
|
||||
echo sub(10, 5)
|
||||
Loading…
Add table
Add a link
Reference in a new issue