1
0
This repository has been archived on 2025-03-06. You can view files and clone it, but cannot push or open issues or pull requests.

15 lines
344 B
MiniZinc

/***
!Test
expected:
- !Result
solution: !Solution
x: []
***/
% Regression test: the frontend was not pushing the coercions into *both*
% arguments of the array1d cast. This was leading to mzn2fzn to fail
% because the types in the assignment did not match.
array[1..0] of var int: x :: add_to_output = array1d({}, []);
solve satisfy;