Debian Codegraph @

tests/spec/unit/compilation/generic_fun_enum.mzn

raw
1
2 /***
3 !Test
4 solvers: [gecode]
5 expected: !Result
6 solution: !Solution
7 ***/
8
9 enum E = {A,B};
10 function array[$X] of E: f(array[$X] of E: x) = x;
11 array[1..2,1..2] of E: x = [|A,B|A,B|];
12 any: y = f(x);