diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/regress1/strings/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress1/strings/double-replace.smt2 | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/test/regress/regress1/strings/Makefile.am b/test/regress/regress1/strings/Makefile.am index 400ee7cff..493cd5b6d 100644 --- a/test/regress/regress1/strings/Makefile.am +++ b/test/regress/regress1/strings/Makefile.am @@ -72,7 +72,8 @@ TESTS = \ str001.smt2 \ str002.smt2 \ str007.smt2 \ - rew-020618.smt2 + rew-020618.smt2 \ + double-replace.smt2 EXTRA_DIST = $(TESTS) diff --git a/test/regress/regress1/strings/double-replace.smt2 b/test/regress/regress1/strings/double-replace.smt2 new file mode 100644 index 000000000..0800592d6 --- /dev/null +++ b/test/regress/regress1/strings/double-replace.smt2 @@ -0,0 +1,7 @@ +(set-logic SLIA) +(set-option :strings-exp true) +(set-info :status sat) +(declare-fun x () String) +(declare-fun y () String) +(assert (not (= (str.replace (str.replace x y x) x y) x))) +(check-sat)
\ No newline at end of file |