unsigned hchar = 0;
String lhss = node[i].getConst<String>();
std::vector<unsigned> vec = lhss.getVec();
- if (vec.size() > 1)
+ if (vec.size() >= 1)
{
hchar = vec[0];
for (unsigned j = 1, size = vec.size(); j < size; j++)
regress0/strings/code-sat-neg-one.smt2
regress0/strings/escchar.smt2
regress0/strings/escchar_25.smt2
+ regress0/strings/hconst-092618.smt2
regress0/strings/idof-rewrites.smt2
regress0/strings/idof-sem.smt2
regress0/strings/ilc-like.smt2
regress0/strings/code-sat-neg-one.smt2 \
regress0/strings/escchar.smt2 \
regress0/strings/escchar_25.smt2 \
+ regress0/strings/hconst-092618.smt2 \
regress0/strings/idof-rewrites.smt2 \
regress0/strings/idof-sem.smt2 \
regress0/strings/ilc-like.smt2 \
--- /dev/null
+(set-logic ALL)
+(set-info :status sat)
+(declare-fun x () String)
+(assert (str.contains "::" (str.++ x ":" x ":")))
+(check-sat)
\ No newline at end of file