Debian Codegraph @

tests/spec/unit/regression/test_bug_637.mzn

raw
1 /***
2 !Test
3 check_against: []
4 expected:
5 - !Result
6 solution: !Solution {}
7 status: SATISFIED
8 extra_files: []
9 markers: []
10 name: ''
11 options:
12 all_solutions: false
13 solvers:
14 - gecode
15 type: solve
16
17 ***/
18
19 predicate foo(1..3: start) =
20 start = 3 \/
21 let {
22 int: bar = 1;
23 int: start2 = start + 1;
24 } in
25 (foo(start2) /\ start2 = start2);
26
27 constraint foo(1);