Debian Codegraph @

tests/spec/unit/general/fn_par_array_undefined.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 status: SATISFIED
6 solution: !Solution
7 x: [2]
8 ***/
9
10 function array [int] of int: foo(bool: b) = let {
11 constraint b;
12 } in [1];
13
14 any: x :: output = foo(false) default [2];