summary refs log tree commit diff stats
path: root/tests/compiler/samplelib.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/compiler/samplelib.nim')
-rw-r--r--tests/compiler/samplelib.nim2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/compiler/samplelib.nim b/tests/compiler/samplelib.nim
new file mode 100644
index 000000000..c70971722
--- /dev/null
+++ b/tests/compiler/samplelib.nim
@@ -0,0 +1,2 @@
+# Sample library used by tcmdlineclib.nim
+proc test(): int {.cdecl, exportc, dynlib.} = 123