diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-09-05 09:14:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-05 09:14:14 -0500 |
commit | cc653cb01f824313d22ffc569ba46bc14b447364 (patch) | |
tree | e32bba095f973d6969625f530ba5322874957e90 /test/regress/regress0/strings | |
parent | f7dd482aa1cec323273d98fde724dc072471a5f7 (diff) |
Extended rewriter for string equalities (#2427)
Diffstat (limited to 'test/regress/regress0/strings')
-rw-r--r-- | test/regress/regress0/strings/str_unsound_ext_rew_eq.smt2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/str_unsound_ext_rew_eq.smt2 b/test/regress/regress0/strings/str_unsound_ext_rew_eq.smt2 new file mode 100644 index 000000000..62ef4bd3a --- /dev/null +++ b/test/regress/regress0/strings/str_unsound_ext_rew_eq.smt2 @@ -0,0 +1,12 @@ +(set-logic ALL) +(set-info :status unsat) +(declare-fun y () String) + +(declare-fun x () String) + +(assert +(= (str.++ (str.++ (str.++ y "B") "A") x) (str.++ (str.++ "A" x) "B")) +) + +; triggered an unsoundness during development of extended rewriter for strings, caught by sygus-rr-verify +(check-sat) |