summaryrefslogtreecommitdiff
path: root/test/regress/regress0/expect/scrub.08.sy
blob: 24a0aab2ecdd8a2fd6a79905e95b7564bc43d518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; COMMAND-LINE: --cegqi-si=all --sygus-out=status --no-sygus-repair-const
; SCRUBBER: sed -e 's/The fact in question: .*$/The fact in question: TERM/'
; EXPECT: (error "A non-linear fact was asserted to arithmetic in a linear logic.
; EXPECT: The fact in question: TERM
; EXPECT: ")
; EXIT: 1
(set-logic LIA)
(declare-var n Int)

(synth-fun f ((n Int)) Int)
(constraint (= (/ n n) 1))
(check-synth)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback