Debian Codegraph @

tests/spec/unit/compilation/test_bug_984.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 options:
5 -O2: true
6 expected: !Result
7 solution: !Solution
8 ***/
9
10 type T = tuple(var 0.0..0.0, var 0.0..0.0);
11 array [1..2] of T: a;
12
13 constraint a[1].1 = -a[1].1;
14 constraint a[1].1 = a[1].2;
15 constraint a[2].1 = -a[2].1;