summary refs log tree commit diff stats
path: root/tests/dll/dllsimple.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dll/dllsimple.nim')
-rw-r--r--tests/dll/dllsimple.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/dll/dllsimple.nim b/tests/dll/dllsimple.nim
new file mode 100644
index 000000000..3f359cd52
--- /dev/null
+++ b/tests/dll/dllsimple.nim
@@ -0,0 +1,5 @@
+discard """
+  file: tdllgen.nim
+"""
+proc test() {.exportc.} =
+  echo("Hello World!")