diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2018-08-09 15:11:27 -0500 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2018-08-09 13:11:27 -0700 |
commit | 0a02fd2b69c0c0f454fc33d8028b24f4fcf431de (patch) | |
tree | c1ac5ce905728635b4e872810d68dd3f51ba01d8 /test/regress/regress1/strings | |
parent | 5052848f548aefd50cca9550b750eb537eee258c (diff) |
Fix char overflow issues in regular expression solver (#2275)
Diffstat (limited to 'test/regress/regress1/strings')
-rw-r--r-- | test/regress/regress1/strings/nterm-re-inter-sigma.smt2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/nterm-re-inter-sigma.smt2 b/test/regress/regress1/strings/nterm-re-inter-sigma.smt2 new file mode 100644 index 000000000..4ac3efff7 --- /dev/null +++ b/test/regress/regress1/strings/nterm-re-inter-sigma.smt2 @@ -0,0 +1,11 @@ +(set-info :smt-lib-version 2.5) +(set-logic ALL) +(set-info :status sat) +(set-option :strings-exp true) +(declare-fun x () String) + +(assert +(not (= (str.in.re x (re.++ (re.++ re.allchar re.allchar ) (re.* re.allchar ))) (not (str.in.re x (re.* (str.to.re "A"))))) +)) + +(check-sat) |