tinvalidarrayaccess2.nim 182 B

1234567891011
  1. discard """
  2. errormsg: "index 3 not in 0 .. 1"
  3. line: 9
  4. """
  5. # Note: merge in tinvalidarrayaccess.nim pending https://github.com/nim-lang/Nim/issues/9906
  6. let a = [1,2]
  7. echo a[3]