Debian Codegraph @

tests/spec/unit/compilation/annotate_from_array.mzn

raw
1 /***
2 --- !Test
3 type: compile
4 solvers: [gecode]
5 expected: !FlatZinc annotate_from_array.fzn
6 ***/
7
8 ann: one;
9 ann: two;
10 array[int] of ann: anns = [one, two];
11 array[int] of var int: bs ::output = [ let {
12 var 1..2: b::anns[i];
13 } in b | i in index_set(anns) ];