git-subtree-dir: software/minizinc git-subtree-split: 4f10c82056ffcb1041d7ffef29d77a7eef92cf76
12 lines
249 B
MiniZinc
12 lines
249 B
MiniZinc
/***
|
|
!Test
|
|
type: output-model
|
|
solvers: [gecode]
|
|
expected: !OutputModel output_only_fn.ozn
|
|
***/
|
|
|
|
% Previously the declaration for foo would not get copied to the output model
|
|
|
|
function int: foo() = 10;
|
|
int: x :: output_only = foo();
|
|
output [show(x)]; |