git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
22 lines
694 B
MiniZinc
22 lines
694 B
MiniZinc
/***
|
|
!Test
|
|
expected:
|
|
- !Result
|
|
solution: !Solution {}
|
|
***/
|
|
|
|
% Regression test for bug #256: this model caused solns2out
|
|
% to abort with the following message:
|
|
%
|
|
% solns2out:
|
|
% error:
|
|
% <standard input>:1
|
|
% In assignment for 'x'.
|
|
% In coercion.
|
|
% In 'array1d' expression.
|
|
% This is not a valid MiniZinc array type.
|
|
|
|
array[1..1] of var set of 1..1: x = [{}];
|
|
solve satisfy;
|
|
output [show(x), "\n"];
|