☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
array_access_out_of_bounds_2.mzn
☽
☼
tests/spec/unit/general/array_access_out_of_bounds_2.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
solvers: [gecode]
4
expected: !Error
5
regex: .*array access out of bounds, array `x' is empty.*
6
***/
7
8
array [int] of int: x = [];
9
any: v = x[1];