summaryrefslogtreecommitdiff
path: root/test/regress/regress0/expect/scrub.08.sy
blob: 58a8a3e76aed5aceb11419092ef75a7f2d91ca3e (plain)
1
2
3
4
5
6
7
8
9
10
11
; REQUIRES: no-competition
; COMMAND-LINE: --lang=sygus2 --sygus-si=all --sygus-out=status --no-sygus-repair-const
; ERROR-SCRUBBER: grep -o "Symbol 'div' not declared as a variable"
; EXPECT-ERROR: Symbol 'div' not declared as a variable
; EXIT: 1
(set-logic LIA)
(declare-var n Int)

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