diff options
Diffstat (limited to 'test/regress/regress1/strings/ilc-l-nt.smt2')
-rw-r--r-- | test/regress/regress1/strings/ilc-l-nt.smt2 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/ilc-l-nt.smt2 b/test/regress/regress1/strings/ilc-l-nt.smt2 new file mode 100644 index 000000000..9e1cc2bc5 --- /dev/null +++ b/test/regress/regress1/strings/ilc-l-nt.smt2 @@ -0,0 +1,14 @@ +(set-logic ALL_SUPPORTED) +(set-info :status unsat) +(set-option :strings-exp true) + +(declare-fun s () String) +(assert (or (= s "Id like cookies.") (= s "Id not like cookies."))) + +(declare-fun target () String) +(assert (or (= target "l") (= target "m"))) + +(declare-fun location () Int) +(assert (= (* 2 location) (str.indexof s target 0))) + +(check-sat)
\ No newline at end of file |