summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/re-neg-concat-reduct.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/strings/re-neg-concat-reduct.smt2')
-rw-r--r--test/regress/regress1/strings/re-neg-concat-reduct.smt212
1 files changed, 12 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/re-neg-concat-reduct.smt2 b/test/regress/regress1/strings/re-neg-concat-reduct.smt2
new file mode 100644
index 000000000..cbe8c4a8b
--- /dev/null
+++ b/test/regress/regress1/strings/re-neg-concat-reduct.smt2
@@ -0,0 +1,12 @@
+(set-info :smt-lib-version 2.5)
+(set-logic QF_S)
+(set-info :status sat)
+(set-option :strings-exp true)
+
+(declare-fun x () String)
+
+(assert (not (= x "")))
+(assert (not (str.in.re x (re.++ (str.to.re "AB") (re.* (str.to.re "A"))))))
+(assert (not (str.in.re x (re.++ (re.* (str.to.re "A")) (str.to.re "B")))))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback