diff options
Diffstat (limited to 'test/regress/regress1/strings/re-unsound-080718.smt2')
-rw-r--r-- | test/regress/regress1/strings/re-unsound-080718.smt2 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/re-unsound-080718.smt2 b/test/regress/regress1/strings/re-unsound-080718.smt2 new file mode 100644 index 000000000..96353e746 --- /dev/null +++ b/test/regress/regress1/strings/re-unsound-080718.smt2 @@ -0,0 +1,19 @@ +; COMMAND-LINE: --strings-print-ascii --strings-exp +; EXPECT: sat +(set-info :smt-lib-version 2.5) +(set-logic ALL) +(set-info :status sat) +(declare-fun x () String) +(assert +(and +(not (= + (str.in.re x (re.++ (str.to.re "B") (re.* (str.to.re "B")))) + (str.in.re x (re.++ (str.to.re "B") (str.to.re (str.++ "B" "B")))) +)) +(not (= + (str.in.re x (re.++ (re.union (re.++ (str.to.re "A") re.allchar ) re.allchar ) (str.to.re "B"))) + (str.in.re x (re.++ (str.to.re "A") (str.to.re "B"))) +)) +) +) +(check-sat) |