summary refs log tree commit diff stats
path: root/tests/js/tindexdefect.nim
blob: 37994ec2e749f677bf874fb735096689da9c07c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
discard """
  outputsub: "unhandled exception: index 10000 not in 0 .. 0 [IndexDefect]"
  exitcode: 1
  joinable: false
"""

var s = ['a']
let z = s[10000] == 'a'
echo z