This commit is contained in:
Araq
2012-10-24 23:26:13 +02:00
parent 7e31134ff6
commit 86ed918157
3 changed files with 19 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
discard """
errormsg: "index out of bounds"
line: 11
"""
type TTestArr = array[0..1, int16]
var f: TTestArr
f[0] = 30
f[1] = 40
f[2] = 50
f[3] = 60
echo(repr(f))