Debian Codegraph @

tests/spec/unit/regression/empty-array1d.mzn

raw
1 /***
2 !Test
3 expected:
4 - !Result
5 solution: !Solution
6 x: []
7 ***/
8
9 % mzn2fzn and soln2out aborted when evaluating this model in
10 % r14647 and before.
11
12 array[1..0] of var bool: x;
13 x = array1d(1..0, []);
14 solve satisfy;
15 output ["x = ", show(x), "\n"];