Debian Codegraph @

tests/spec/unit/regression/github_664.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: !set {1}
7 ***/
8
9 array[1..3] of set of int: C = [{1},{2},{3}];
10 array[int] of set of int: F(int: t) =
11 if t = 3 then [] else [C[t]] endif;
12
13 any: x ::output = F(1);