Debian Codegraph @

tests/spec/unit/regression/github_848.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: 1
7 ***/
8
9 % Previously the var int overload was incorrectly used for max due to missing the par opt version
10
11 array[int] of opt int: X = [<>, 1];
12 opt int: x :: output = max(X);