git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
18 lines
303 B
MiniZinc
18 lines
303 B
MiniZinc
/***
|
|
!Test
|
|
type: compile
|
|
solvers: [gecode]
|
|
expected: !FlatZinc cse_array_lit.fzn
|
|
***/
|
|
|
|
% Regression test for #458
|
|
|
|
% In 2.5.4, par arrays were not inserted into the CSE,
|
|
% leading to duplicate variables and constraints in the FlatZinc.
|
|
|
|
var 1..10: x;
|
|
var 1..10: y;
|
|
|
|
constraint x < y;
|
|
constraint x < y;
|