☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
general
/
auto_par_function.mzn
☽
☼
tests/spec/unit/general/auto_par_function.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
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;