Debian Codegraph @

tests/spec/unit/compilation/maybe_partial_cv.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 options:
5 -Werror: true
6 expected: !Result
7 status: SATISFIED
8 ***/
9
10 int: x = if has_element(1, col([||], 2))::maybe_partial then 1 else 0 endif;
11 int: y = if (col([||], 2)[1]=1) ::maybe_partial then 1 else 0 endif;