| 1 |
/*** |
| 2 |
!Test |
| 3 |
solvers: |
| 4 |
- gecode |
| 5 |
expected: !Error |
| 6 |
regex: .*declared domain of `x' is 1\.\.3, but assigned value is 0.* |
| 7 |
***/ |
| 8 |
|
| 9 |
% Previously we included monomorphised domain in undefined result message |
| 10 |
|
| 11 |
function set of int: foo(any $T) = 1..3; |
| 12 |
foo("a"): x = 0; |