Debian Codegraph @

tests/spec/unit/regression/github_954.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 b: false
7 c: false
8 ***/
9
10 % Previously we could not create array dummy values so these gave an internal error
11
12 array[int] of array [int] of int: t = [[1]];
13 bool: b :: output = let {
14 array [int] of int: x = t[0];
15 } in true;
16
17 array[int] of tuple(array [int] of int): u = [([1],)];
18 bool: c :: output = let {
19 array [int] of int: x = u[0].1;
20 } in true;