Debian Codegraph @

tests/spec/unit/general/auto_par_function.mzn

raw
1 /***
2 !Test
3 expected: !Result
4 solution: !Solution
5 x: 1
6 ***/
7
8 predicate foo(var int: x) = bar(x);
9 predicate bar(var int: x) = true;
10 predicate bar(int: x) = true;
11 var 1..3: x;
12 output [show(foo(x)), "\n"];
13 solve minimize x;