Debian Codegraph @

tests/spec/unit/general/struct_literal_context.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 options:
5 all_solutions: true
6 expected: !Result
7 solution: !SolutionSet
8 - !Solution
9 x: 1
10 c: [true]
11 - !Solution
12 x: 2
13 c: [false]
14 ***/
15
16 function tuple(var bool): foo(var int: x) = (x = 1,);
17 var 1..2: x;
18 any: c :: output = foo(x);