Debian Codegraph @

tests/spec/unit/general/anon_var_enum.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: [A, B]
7 ***/
8
9 enum Foo = {A, B};
10 any: x :: output = [A, _];
11 constraint x[1] != x[2];