Debian Codegraph @

tests/spec/unit/regression/github_793.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 _output_item: '[{"e":"A"}] {"v": [{"e":"A"}]}'
7 ***/
8
9 enum Foo = { A };
10
11 array[int] of Foo: x = [ A ];
12 record(array[int] of Foo: v): y = (v: x);
13
14 output [showJSON(x), " ", showJSON(y)];