Debian Codegraph @

tests/spec/unit/regression/github_681.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 arr: [true]
7 ***/
8
9 array[1..1] of var bool: arr;
10 type R = record(array[int] of var bool: a, array[int] of var bool: b);
11 function R: f() = (a: arr, b: []);
12 R: r_rec = f();
13 constraint r_rec.a[1];