summaryrefslogtreecommitdiff
path: root/test/regress/regress0/ho/ite-apply-eq.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/ho/ite-apply-eq.smt2')
-rw-r--r--test/regress/regress0/ho/ite-apply-eq.smt214
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress0/ho/ite-apply-eq.smt2 b/test/regress/regress0/ho/ite-apply-eq.smt2
new file mode 100644
index 000000000..474f6887e
--- /dev/null
+++ b/test/regress/regress0/ho/ite-apply-eq.smt2
@@ -0,0 +1,14 @@
+; COMMAND-LINE: --uf-ho
+; EXPECT: sat
+(set-logic UFLIA)
+(set-info :status sat)
+(declare-fun x () Int)
+(declare-fun f (Int) Int)
+(declare-fun g (Int) Int)
+(declare-fun h (Int) Int)
+
+(assert (= h (ite (> x 0) f g)))
+
+(assert (= (h 4) 5))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback