☰
Debian Codegraph
@
2.9.7+dfsg1-1
2.10.0+dfsg1-1
/
/
tests
/
spec
/
unit
/
regression
/
github_664.mzn
☽
☼
tests/spec/unit/regression/github_664.mzn
code
plain
raw
MPL-2.0
2014-2025 Monash University and NICTA
debian/copyright
1
/***
2
!Test
3
solvers: [gecode]
4
expected: !Result
5
solution: !Solution
6
x: !set {1}
7
***/
8
9
array[1..3] of set of int: C = [{1},{2},{3}];
10
array[int] of set of int: F(int: t) =
11
if t = 3 then [] else [C[t]] endif;
12
13
any: x ::output = F(1);