tests/spec/unit/regression/github_768a.mzn
raw| 1 | /*** |
| 2 | !Test |
| 3 | expected: !FlatZinc 'github_768a.fzn' |
| 4 | solvers: [gecode] |
| 5 | type: compile |
| 6 | ***/ |
| 7 | |
| 8 | % Regression test for bug where the search annotation ended up with an array1d call |
| 9 | |
| 10 | array [0..0] of var 1..2: x; |
| 11 | ann: s = int_search(x, input_order, indomain_min, complete); |
| 12 | ann: t = warm_start(x, [0: 1]); |
| 13 | ann: u = seq_search([3: s, t]); |
| 14 | solve :: u satisfy; |