summary refs log tree commit diff stats
path: root/tests/misc/m15955_main.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/m15955_main.nim')
-rw-r--r--tests/misc/m15955_main.nim11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/misc/m15955_main.nim b/tests/misc/m15955_main.nim
new file mode 100644
index 000000000..a71af8121
--- /dev/null
+++ b/tests/misc/m15955_main.nim
@@ -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)