summaryrefslogtreecommitdiff
path: root/test/regress
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2020-11-12 20:02:20 -0600
committerGitHub <noreply@github.com>2020-11-12 20:02:20 -0600
commit151a4bb262713a94c488f2e4e8c1f5d498098253 (patch)
tree3eccc7180efe0a5b908ddaf9c6e0e0528a80ebe2 /test/regress
parentcf7c2ce97615990388bb6c37b151c0e2b2fe8f9a (diff)
Make regular expression difference left associative (#5430)
Fixes #5428.
Diffstat (limited to 'test/regress')
-rw-r--r--test/regress/CMakeLists.txt1
-rw-r--r--test/regress/regress0/strings/issue5428-re-diff-assoc.smt24
2 files changed, 5 insertions, 0 deletions
diff --git a/test/regress/CMakeLists.txt b/test/regress/CMakeLists.txt
index ac62452e5..ac6d91e7c 100644
--- a/test/regress/CMakeLists.txt
+++ b/test/regress/CMakeLists.txt
@@ -1010,6 +1010,7 @@ set(regress_0_tests
regress0/strings/issue4820.smt2
regress0/strings/issue4915.smt2
regress0/strings/issue5090.smt2
+ regress0/strings/issue5428-re-diff-assoc.smt2
regress0/strings/itos-entail.smt2
regress0/strings/large-model.smt2
regress0/strings/leadingzero001.smt2
diff --git a/test/regress/regress0/strings/issue5428-re-diff-assoc.smt2 b/test/regress/regress0/strings/issue5428-re-diff-assoc.smt2
new file mode 100644
index 000000000..64455f2c3
--- /dev/null
+++ b/test/regress/regress0/strings/issue5428-re-diff-assoc.smt2
@@ -0,0 +1,4 @@
+(set-logic QF_S)
+(set-info :status unsat)
+(assert (str.in_re "" (re.diff (re.* re.allchar) re.allchar (re.* re.allchar))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback