a_module.nim 95 B

123456
  1. # a.nim
  2. {.push stackTrace: off.}
  3. proc foo*(): int =
  4. var a {.global.} = 0
  5. result = a
  6. {.pop.}