summary refs log tree commit diff stats
path: root/tests/dll/nimhcr_0.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dll/nimhcr_0.nim')
-rw-r--r--tests/dll/nimhcr_0.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/dll/nimhcr_0.nim b/tests/dll/nimhcr_0.nim
new file mode 100644
index 000000000..fe0b29a36
--- /dev/null
+++ b/tests/dll/nimhcr_0.nim
@@ -0,0 +1,4 @@
+
+let g_0 = 1000 # new value! but also a "new" global :)
+
+proc getInt*(): int = return g_0