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.

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)];