summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/strip-endpoint-itos.smt2
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-06-12 15:22:15 -0500
committerAndres Noetzli <andres.noetzli@gmail.com>2018-06-12 13:22:15 -0700
commitb0a4253162ae4735f15540b41794f05f4f7f26f8 (patch)
treeee5b06f4a3ae2efa8dbbddb7e77237a65292dd18 /test/regress/regress0/strings/strip-endpoint-itos.smt2
parentb19c840d2bd756d272b8b44c122be809a8b1c633 (diff)
Fix strip constant endpoint for ITOS in strings rewriter (#2067)
Diffstat (limited to 'test/regress/regress0/strings/strip-endpoint-itos.smt2')
-rw-r--r--test/regress/regress0/strings/strip-endpoint-itos.smt27
1 files changed, 7 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/strip-endpoint-itos.smt2 b/test/regress/regress0/strings/strip-endpoint-itos.smt2
new file mode 100644
index 000000000..c8d8c5af3
--- /dev/null
+++ b/test/regress/regress0/strings/strip-endpoint-itos.smt2
@@ -0,0 +1,7 @@
+(set-info :smt-lib-version 2.5)
+(set-logic QF_SLIA)
+(set-option :strings-exp true)
+(set-info :status sat)
+(declare-fun x () Int)
+(assert (str.contains "Ducati100" (int.to.str x)))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback