summaryrefslogtreecommitdiff
path: root/test/regress/regress0/sets/comp-qf-error.smt2
blob: 81e4d7411aee9e30c475f8d57089fb9ecfd6e260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; COMMAND-LINE: --sets-ext
; EXPECT: (error "Set comprehensions require quantifiers in the background logic.")
; EXIT: 1
(set-logic QF_UFLIAFS)
(set-info :status unsat)

(declare-sort U 0)
(declare-fun a () U)
(declare-fun x () (Set U))


(assert (subset x (comprehension ((z U)) (not (= z a)) z)))

(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback