☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
globals
/
roots
/
roots_bad.mzn
☽
☼
tests/spec/unit/globals/roots/roots_bad.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
expected: !Error
4
***/
5
6
% This should abort since {6} is not a subset of index_set(x).
7
8
include "roots.mzn";
9
10
array[1..5] of var 1..10: x;
11
12
constraint roots(x, {6}, {1, 2});
13
14
solve satisfy;
15
16
output ["ERROR\n"];