summaryrefslogtreecommitdiff
path: root/test/regress/regress0/bug322b.cvc.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/bug322b.cvc.smt2')
-rw-r--r--test/regress/regress0/bug322b.cvc.smt212
1 files changed, 12 insertions, 0 deletions
diff --git a/test/regress/regress0/bug322b.cvc.smt2 b/test/regress/regress0/bug322b.cvc.smt2
new file mode 100644
index 000000000..8f62ed398
--- /dev/null
+++ b/test/regress/regress0/bug322b.cvc.smt2
@@ -0,0 +1,12 @@
+; COMMAND-LINE: --incremental
+; EXPECT: unsat
+; EXPECT: unsat
+; EXPECT: unsat
+(set-logic ALL)
+(declare-fun x () Int)
+(define-fun y () Int (+ x 1))
+(define-fun z () Int (- 10))
+(define-fun identity ((x Int)) Int x)
+(check-sat-assuming ( (not (= (identity x) x)) ))
+(check-sat-assuming ( (not (> (identity (+ x 1)) x)) ))
+(check-sat-assuming ( (not (let ((_let_1 (- 10))) (= (identity _let_1) _let_1))) ))
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback