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.

9 lines
280 B
MiniZinc

% Regression test: the frontend was not pushing the coercions into *both*
% arguments of the array1d cast. Thiw was leading to mzn2fzn to failing
% because the types in the assignment did not match.
array[1..0] of var int: x = array1d({}, []);
solve satisfy;
output [show(x)];