tests/spec/unit/regression/test_annotation_on_exists.mzn
raw| 1 | /*** |
| 2 | !Test |
| 3 | check_against: [] |
| 4 | expected: |
| 5 | - !Result |
| 6 | solution: |
| 7 | - !Solution |
| 8 | b: true |
| 9 | c: true |
| 10 | d: false |
| 11 | - !Solution |
| 12 | b: true |
| 13 | c: false |
| 14 | d: true |
| 15 | - !Solution |
| 16 | b: true |
| 17 | c: true |
| 18 | d: true |
| 19 | status: ALL_SOLUTIONS |
| 20 | extra_files: [] |
| 21 | markers: [] |
| 22 | name: '' |
| 23 | options: |
| 24 | all_solutions: true |
| 25 | solvers: |
| 26 | - gecode |
| 27 | type: solve |
| 28 | ***/ |
| 29 | |
| 30 | var bool: b; |
| 31 | annotation remove(var bool: b); |
| 32 | var bool: c; |
| 33 | var bool: d; |
| 34 | constraint (c \/ d )::remove(b); |
| 35 | constraint b; |