Debian Codegraph @

tests/spec/unit/general/overload_bottom.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: !!set {}
7 ***/
8
9 function var set of int: foo(array [int] of var set of int: x) = {};
10 function var bool: foo(array [int] of var bool: x) = true;
11
12 function array [int] of var set of int: empty() = [];
13 var set of int: x :: output = foo(empty());