Debian Codegraph @

tests/spec/unit/regression/cse_array_lit.mzn

raw
1 /***
2 !Test
3 type: compile
4 solvers: [gecode]
5 expected: !FlatZinc cse_array_lit.fzn
6 ***/
7
8 % Regression test for #458
9
10 % In 2.5.4, par arrays were not inserted into the CSE,
11 % leading to duplicate variables and constraints in the FlatZinc.
12
13 var 1..10: x;
14 var 1..10: y;
15
16 constraint x < y;
17 constraint x < y;