Debian Codegraph @

tests/spec/unit/general/annotated_expression_1.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 x: 3
7 ***/
8
9 annotation foo_ann(var int: x :: annotated_expression, int: a, int: b) = let {
10 constraint a * x + b = 10;
11 } in empty_annotation;
12
13 var 1..10: x :: foo_ann(3, 1);