summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/chapman150408.smt2
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2015-09-28 14:12:48 +0200
committerajreynol <andrew.j.reynolds@gmail.com>2015-09-28 14:12:48 +0200
commitda790d921114f250597606313245f9fe7fcb72d5 (patch)
tree183081a9dde7db701992c4cce6c22354bf28dacc /test/regress/regress0/strings/chapman150408.smt2
parente00d64b2e4eb32a8ea21e211957d708afa89405a (diff)
Minor fixes to strings, add regressions.
Diffstat (limited to 'test/regress/regress0/strings/chapman150408.smt2')
-rw-r--r--test/regress/regress0/strings/chapman150408.smt210
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/chapman150408.smt2 b/test/regress/regress0/strings/chapman150408.smt2
new file mode 100644
index 000000000..546c46e32
--- /dev/null
+++ b/test/regress/regress0/strings/chapman150408.smt2
@@ -0,0 +1,10 @@
+(set-logic SLIA)
+(set-info :status sat)
+(set-option :strings-exp true)
+(set-option :rewrite-divk true)
+(declare-fun string () String)
+(assert (and
+ (and (not (not (not (= (ite (> (str.indexof string ";" 0) 0) 1 0)
+ 0)))) (not (= (ite (not (= (str.len string) 0)) 1 0) 0))) (not
+ (not (= (ite (str.contains string "]") 1 0) 0)))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback