Debian Codegraph @

tests/spec/unit/regression/dim_1_struct_merge.mzn

raw
1 /***
2 !Test
3 expected:
4 - !Result
5 status: SATISFIED
6 solvers: [gecode]
7 ***/
8 type foo = record(int: a);
9 type bar = record(string: b);
10
11 array[int] of bar: bars = [];
12 array[int] of (foo ++ bar): baz = [ (a: i) ++ bars[i] | i in index_set(bars) ];