stckovfl.nim 141 B

1234567891011
  1. # To test stack overflow message
  2. proc over(a: int): int =
  3. if a >= 10:
  4. assert false
  5. return
  6. result = over(a+1)+5
  7. Echo($over(0))