summary refs log tree commit diff stats
path: root/tests/dll/nimhcr_0_1.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dll/nimhcr_0_1.nim')
-rw-r--r--tests/dll/nimhcr_0_1.nim14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/dll/nimhcr_0_1.nim b/tests/dll/nimhcr_0_1.nim
new file mode 100644
index 000000000..620050be3
--- /dev/null
+++ b/tests/dll/nimhcr_0_1.nim
@@ -0,0 +1,14 @@
+
+import hotcodereloading
+
+let g_0 = 42 # lets start with the ultimate answer
+
+proc getInt*(): int = return g_0
+
+programResult = 0 # should be accessible
+
+beforeCodeReload:
+  echo "   0: before"
+afterCodeReload:
+  echo "   0: after"
+  
\ No newline at end of file
jm_uk@protonmail.com> 2021-09-04 17:00:53 +0100 committer David Morgan <djm_uk@protonmail.com> 2021-09-04 17:00:53 +0100 Fix lsp-command-map binding' href='/djm/dotfiles/commit/.emacs.d/lisp/init-lsp.el?id=5cc2f2ed4928037394f6a14e6c958e926424380b'>5cc2f2e ^
8aef5c1 ^


d0db566 ^


5cc2f2e ^
d0db566 ^
dddd349 ^
5633846 ^
1bfe1dd ^
d0db566 ^
1bfe1dd ^
d0db566 ^

d0db566 ^
80dc64a ^
d0db566 ^
80dc64a ^

d0db566 ^
d0db566 ^

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49