summaryrefslogtreecommitdiff
path: root/test/regress/regress0/quantifiers
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/quantifiers')
-rw-r--r--test/regress/regress0/quantifiers/Makefile.am2
-rw-r--r--test/regress/regress0/quantifiers/extract-nproc.smt29
2 files changed, 10 insertions, 1 deletions
diff --git a/test/regress/regress0/quantifiers/Makefile.am b/test/regress/regress0/quantifiers/Makefile.am
index 014f06aad..135a2c8d2 100644
--- a/test/regress/regress0/quantifiers/Makefile.am
+++ b/test/regress/regress0/quantifiers/Makefile.am
@@ -129,7 +129,7 @@ TESTS = \
# javafe.tc.CheckCompilationUnit.001.smt2 \
# javafe.tc.FlowInsensitiveChecks.682.smt2 \
# clock-10.smt2
-#
+# extract-nproc.smt2
# FIXME: I've disabled these since they give different error messages on production and debug
# macro-subtype-param.smt2
diff --git a/test/regress/regress0/quantifiers/extract-nproc.smt2 b/test/regress/regress0/quantifiers/extract-nproc.smt2
new file mode 100644
index 000000000..6072776dc
--- /dev/null
+++ b/test/regress/regress0/quantifiers/extract-nproc.smt2
@@ -0,0 +1,9 @@
+; COMMAND-LINE: --cbqi-bv --cbqi-bv-rm-extract
+; EXPECT: sat
+(set-logic BV)
+(declare-fun k_3 () (_ BitVec 8))
+(declare-fun k_4 () (_ BitVec 8))
+(declare-fun k_5 () (_ BitVec 8))
+(assert
+(forall ((x (_ BitVec 8))) (or (= k_5 x) (not (= k_3 (bvadd (concat #b0000 ((_ extract 7 4) x)) #b01000001))) (not (= k_4 (bvadd (concat #b0000 ((_ extract 3 0) x)) #b01000001)))) ))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback