Debian Codegraph @

tests/spec/unit/regression/test_bug_529.mzn

raw
1 /***
2 !Test
3 check_against: []
4 expected:
5 - !Result
6 solution: !Solution
7 _output_item: 'ok'
8 status: SATISFIED
9 extra_files: []
10 markers: []
11 name: ''
12 options:
13 all_solutions: false
14 solvers:
15 - gecode
16 type: solve
17 ***/
18
19 enum X = {a,b};
20 opt X: y::output = if true then <> else a endif;
21 opt X: z::output = if true then a else <> endif;
22 output ["ok"];