summary refs log tree commit diff stats
path: root/tests/compiler/tcmdlineclib.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiler/tcmdlineclib.nim')
-rw-r--r--tests/compiler/tcmdlineclib.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/compiler/tcmdlineclib.nim b/tests/compiler/tcmdlineclib.nim
new file mode 100644
index 000000000..c06d6f103
--- /dev/null
+++ b/tests/compiler/tcmdlineclib.nim
@@ -0,0 +1,3 @@
+proc test(): int {.importc, cdecl.}
+
+doAssert test() == 123