summaryrefslogtreecommitdiff
path: root/test/regress/regress0/strings/int2str.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/strings/int2str.smt2')
-rw-r--r--test/regress/regress0/strings/int2str.smt218
1 files changed, 18 insertions, 0 deletions
diff --git a/test/regress/regress0/strings/int2str.smt2 b/test/regress/regress0/strings/int2str.smt2
new file mode 100644
index 000000000..ac4d9ab8a
--- /dev/null
+++ b/test/regress/regress0/strings/int2str.smt2
@@ -0,0 +1,18 @@
+(set-logic QF_S)
+(set-info :status sat)
+(set-option :strings-exp true)
+
+(declare-fun x () String)
+(declare-fun y () String)
+(declare-fun z () String)
+(declare-fun i () Int)
+
+(assert (>= i 420))
+(assert (= x (int.to.str i)))
+(assert (= x (str.++ y "0" z)))
+(assert (not (= y "")))
+(assert (not (= z "")))
+
+
+
+(check-sat) \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback