tindexdefect.nim 180 B

1234567891011
  1. discard """
  2. outputsub: "unhandled exception: index 10000 not in 0 .. 0 [IndexDefect]"
  3. exitcode: 1
  4. joinable: false
  5. """
  6. var s = ['a']
  7. let i = 10000
  8. let z = s[i] == 'a'
  9. echo z