summaryrefslogtreecommitdiff
path: root/test/regress/regress1/sygus/max2-bv.sy
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-21 12:10:38 -0500
committerGitHub <noreply@github.com>2018-08-21 12:10:38 -0500
commit290f2a718a8ebe9532239fa53fabc9763564b5dc (patch)
tree59662330ba036b7b93fdbafce7d83066992ac1a7 /test/regress/regress1/sygus/max2-bv.sy
parent29b2e5a74eb007f04a18e01d7a9c21eff577c9b1 (diff)
Use cbqi-full for sygus (#2346)
Diffstat (limited to 'test/regress/regress1/sygus/max2-bv.sy')
-rw-r--r--test/regress/regress1/sygus/max2-bv.sy26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/regress/regress1/sygus/max2-bv.sy b/test/regress/regress1/sygus/max2-bv.sy
new file mode 100644
index 000000000..297bd9179
--- /dev/null
+++ b/test/regress/regress1/sygus/max2-bv.sy
@@ -0,0 +1,26 @@
+; EXPECT: unsat
+; COMMAND-LINE: --sygus-out=status
+(set-logic BV)
+
+(synth-fun max2 ((x (BitVec 32))(y (BitVec 32))) (BitVec 32)
+)
+
+(declare-var x (BitVec 32))
+
+(declare-var y (BitVec 32))
+
+(constraint
+(bvuge (max2 x y) x)
+)
+
+(constraint
+(bvuge (max2 x y) y)
+)
+
+(constraint
+(or (= x (max2 x y)) (= y (max2 x y)))
+)
+
+(check-synth)
+
+
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback