tvarres2.nim 156 B

12345678910111213141516
  1. discard """
  2. errormsg: "expression has no address"
  3. file: "tvarres2.nim"
  4. line: 11
  5. """
  6. var
  7. g = 5
  8. proc p(): var int =
  9. result = 89
  10. p() = 45
  11. echo g