Debian Codegraph @

tests/spec/unit/regression/flatten_comp_in.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: [true]
7 ***/
8
9 % Previously we would only eval_array_lit on the in part
10
11 array[int] of var bool: x :: add_to_output = [y=1 | y in let {
12 array [1..1] of var 1..2: z;
13 } in z];
14
15 constraint x[1];