summary refs log tree commit diff stats
path: root/tests/dll
diff options
context:
space:
mode:
authormetagn <metagngn@gmail.com>2023-05-26 18:07:37 +0300
committerGitHub <noreply@github.com>2023-05-26 17:07:37 +0200
commit1aaff9dc48337b58d5606cc18c5ba777cab1a0ba (patch)
tree1806309cd8cfbe9841cc68e3e4b524ef134f239f /tests/dll
parent656706026b2357a6ff195e3f509f793553e95e8a (diff)
downloadNim-1aaff9dc48337b58d5606cc18c5ba777cab1a0ba.tar.gz
fix & add test for basic hot code reloading case (#21915)
fixes #21885
Diffstat (limited to 'tests/dll')
-rw-r--r--tests/dll/nimhcr_basic.nim7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/dll/nimhcr_basic.nim b/tests/dll/nimhcr_basic.nim
new file mode 100644
index 000000000..340c3fc4e
--- /dev/null
+++ b/tests/dll/nimhcr_basic.nim
@@ -0,0 +1,7 @@
+discard """
+  output: '''
+Hello world
+'''
+"""
+
+echo "Hello world"