proper order of initialization for .global. variables
This commit is contained in:
parent
e941a14767
commit
a64f03230a
7 changed files with 62 additions and 3 deletions
4
tests/run/globalaux2.nim
Normal file
4
tests/run/globalaux2.nim
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import globalaux
|
||||
|
||||
echo "in globalaux2: ", globalInstance[int]().val
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue