summaryrefslogtreecommitdiff
path: root/test/regress/regress1
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2019-07-15 11:03:01 -0500
committerGitHub <noreply@github.com>2019-07-15 11:03:01 -0500
commit8773f7ac81dede3dcf96983087417c652cbf35b8 (patch)
tree79375150c0fc219741e8849a61b65226751d80b5 /test/regress/regress1
parent77db9e59b783667149c2a71b730e26fe74084073 (diff)
Add string rewrite to distribute character stars over concatenation (#3091)
Diffstat (limited to 'test/regress/regress1')
-rw-r--r--test/regress/regress1/strings/issue3090.smt26
1 files changed, 6 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/issue3090.smt2 b/test/regress/regress1/strings/issue3090.smt2
new file mode 100644
index 000000000..734257a25
--- /dev/null
+++ b/test/regress/regress1/strings/issue3090.smt2
@@ -0,0 +1,6 @@
+(set-logic ALL_SUPPORTED)
+(set-option :strings-exp true)
+(set-info :status unsat)
+(declare-const id String)
+(assert (and (str.in.re id (re.+ (re.range "0" "9"))) (str.contains id "value")))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback