test/regress/cli/regress1/sygus/rand_p_0.sy
raw| 1 | ; COMMAND-LINE: --sygus-enum=random --sygus-out=status |
| 2 | ; EXPECT: feasible |
| 3 | |
| 4 | (set-logic BV) |
| 5 | (set-option :sygus-enum-random-p 0) |
| 6 | |
| 7 | ; Ensures random enumerator correctly handles cases where the coin flips to |
| 8 | ; tails but there is no no-argument constructor to pick. |
| 9 | |
| 10 | (synth-fun f () Bool |
| 11 | ((Start Bool) (Const Bool)) |
| 12 | ((Start Bool ((not Const))) |
| 13 | (Const Bool (false)))) |
| 14 | |
| 15 | (check-synth) |