summaryrefslogtreecommitdiff
path: root/test/regress/regress1/strings/idof-handg.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/strings/idof-handg.smt2')
-rw-r--r--test/regress/regress1/strings/idof-handg.smt27
1 files changed, 7 insertions, 0 deletions
diff --git a/test/regress/regress1/strings/idof-handg.smt2 b/test/regress/regress1/strings/idof-handg.smt2
new file mode 100644
index 000000000..40aff3168
--- /dev/null
+++ b/test/regress/regress1/strings/idof-handg.smt2
@@ -0,0 +1,7 @@
+(set-logic ALL_SUPPORTED)
+(set-option :strings-exp true)
+(set-info :status sat)
+(declare-fun s () String)
+(assert (str.contains s "Hello and goodbye!"))
+(assert (> (str.indexof s "goodbye" 0) (str.indexof s "Hello" 0)))
+(check-sat) \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback