parent
efeee326f8
commit
e749fc08e7
3 changed files with 17 additions and 1 deletions
6
tests/constr/a_module.nim
Normal file
6
tests/constr/a_module.nim
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# a.nim
|
||||
{.push stackTrace: off.}
|
||||
proc foo*(): int =
|
||||
var a {.global.} = 0
|
||||
result = a
|
||||
{.pop.}
|
||||
Loading…
Add table
Add a link
Reference in a new issue