Debian Codegraph @

tests/spec/unit/output/output_sections_7.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 _output_item: "[1]\n"
7 ***/
8
9 predicate foo(var int: a) = bar([a]);
10 predicate bar(array [int] of var int: b) = output_to_json_section("foo", b);
11 var 1..2: x :: no_output;
12 constraint foo(x);
13 output [];