Debian Codegraph @

tests/spec/unit/general/comprehension_cv_struct.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: 1
7 z: [null]
8 ***/
9
10 var 1..2: x;
11 any: z :: output = [
12 let {
13 var int: y = x;
14 } in if i == 1 then (<>,) else (1,) endif
15 |
16 i in 1..2
17 ][x];
18 solve minimize x;