test/regress/cli/regress1/sygus/rand_p_1.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 1) |
| 6 | |
| 7 | ; Ensures random enumerator correctly handles cases where the coin flips to |
| 8 | ; heads but there is no constructor that takes arguments to pick. |
| 9 | |
| 10 | (synth-fun f () Bool |
| 11 | ((Start Bool)) |
| 12 | ((Start Bool (false)))) |
| 13 | |
| 14 | (check-synth) |