git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
19 lines
323 B
MiniZinc
19 lines
323 B
MiniZinc
/***
|
|
!Test
|
|
solvers: [gecode, chuffed]
|
|
expected:
|
|
- !Result
|
|
solution: !Solution {}
|
|
***/
|
|
|
|
% A regression test for bug #212. In r13904, the FlatZinc optimizer was
|
|
% aborting on the string literal annotation argument below.
|
|
|
|
annotation f(string:x);
|
|
|
|
var int : x;
|
|
var int : y;
|
|
constraint (x != y) :: f("abc");
|
|
|
|
solve satisfy;
|