/tests/nimble/

' name='id' value='ab405c936e77a875199aa1ee0f99eddd3d5a0c10'/> This repository contains the Nim compiler, Nim's stdlib, tools, and documentation. (mirror)ahoang <ahoang@tilde.institute>
summary refs log tree commit diff stats
path: root/tests/misc/tinvalidarrayaccess2.nim
blob: 0a07038344a8eece615bd12f286444da2342ddfe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
discard """
  errormsg: "index 3 not in 0 .. 1"
  line: 9
"""

# Note: merge in tinvalidarrayaccess.nim pending https://github.com/nim-lang/Nim/issues/9906

let a = [1,2]
echo a[3]