summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-08-09 15:11:27 -0500
committerAina Niemetz <aina.niemetz@gmail.com>2018-08-09 13:11:27 -0700
commit0a02fd2b69c0c0f454fc33d8028b24f4fcf431de (patch)
treec1ac5ce905728635b4e872810d68dd3f51ba01d8 /test/regress/regress1/strings
parent5052848f548aefd50cca9550b750eb537eee258c (diff)
Fix char overflow issues in regular expression solver (#2275)
Diffstat (limited to 'test/regress/regress1/strings')
-rw-r--r--test/regress/regress1/strings/nterm-re-inter-sigma.smt211
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/nterm-re-inter-sigma.smt2 b/test/regress/regress1/strings/nterm-re-inter-sigma.smt2
new file mode 100644
index 000000000..4ac3efff7
--- /dev/null
+++ b/test/regress/regress1/strings/nterm-re-inter-sigma.smt2
@@ -0,0 +1,11 @@
+(set-info :smt-lib-version 2.5)
+(set-logic ALL)
+(set-info :status sat)
+(set-option :strings-exp true)
+(declare-fun x () String)
+
+(assert
+(not (= (str.in.re x (re.++ (re.++ re.allchar re.allchar ) (re.* re.allchar ))) (not (str.in.re x (re.* (str.to.re "A")))))
+))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback