Fix positive contains indexof rewrites for empty string second argument (#6566)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 19 May 2021 17:12:28 +0000 (12:12 -0500)
committerGitHub <noreply@github.com>
Wed, 19 May 2021 17:12:28 +0000 (17:12 +0000)
commitbcb536ef60cb24c19001c0efbde55ff3a37e114f
tree1a9605630ff2ea9bf5099fdb20e795c09e88caf9
parent29aac1b9d886e245a7b5cd2122d7b80fa230152d
Fix positive contains indexof rewrites for empty string second argument (#6566)

Fixes #6560.
src/theory/strings/sequences_rewriter.cpp
test/regress/CMakeLists.txt
test/regress/regress0/strings/issue6560-indexof-reduction.smt2 [new file with mode: 0644]