tindexdefect.nim 169 B

123456789
  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 z = s[10000] == 'a'
  8. echo z