Debian Codegraph @

tests/spec/unit/regression/bug532.mzn

raw
1 /***
2 !Test
3 solvers: [gecode]
4 expected: !Result
5 solution: !Solution
6 y: 0
7 ***/
8
9 % Regression test for bug #532 (infinite recursion in create_output).
10
11 function 0..0: f(1..1: x) = if true then 0 else f(1) endif;
12 var 0..0: y :: output = f(1);