Debian Codegraph @

test/regress/cli/regress0/int-to-bv/not-enough-bits.smt2

raw
1 ; COMMAND-LINE: --solve-int-as-bv=3
2 ; SCRUBBER: sed -n "s/.*\(Not enough bits\).*: 4.*/\1/p"
3 ; EXPECT: Not enough bits
4 ; EXIT: 1
5 (set-logic QF_NIA)
6 (declare-const x Int)
7 (declare-const y Int)
8 ; The negative constant fits, the positive does not
9 (assert (= (- 4) (* x y)))
10 (assert (= 4 (* x y)))
11 (check-sat)