tvarres1.nim 192 B

1234567891011121314151617
  1. discard """
  2. errormsg: "'bla' escapes its stack frame; context: 'bla'"
  3. file: "tvarres1.nim"
  4. line: 12
  5. """
  6. var
  7. g = 5
  8. proc p(): var int =
  9. var bla: int
  10. result = bla
  11. p() = 45
  12. echo g