summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTianyi Liang <tianyi-liang@uiowa.edu>2013-10-21 09:55:34 -0500
committerTianyi Liang <tianyi-liang@uiowa.edu>2013-10-21 09:55:34 -0500
commit88779ec5966b142364424c06136dde004a55ff7c (patch)
treeb23d963c82f8eda8d4d0d8bb43cd1aa449119e13
parentddb7e7a5ac1a38d0fb374c651d8c76b80366aab9 (diff)
add a string test case
-rw-r--r--test/regress/regress0/strings/Makefile.am3
-rw-r--r--test/regress/regress0/strings/loop009.smt29
2 files changed, 11 insertions, 1 deletions
diff --git a/test/regress/regress0/strings/Makefile.am b/test/regress/regress0/strings/Makefile.am
index cd3116eac..c98f37958 100644
--- a/test/regress/regress0/strings/Makefile.am
+++ b/test/regress/regress0/strings/Makefile.am
@@ -39,7 +39,8 @@ TESTS = \
loop005.smt2 \
loop006.smt2 \
loop007.smt2 \
- loop008.smt2
+ loop008.smt2 \
+ loop009.smt2
FAILING_TESTS =
diff --git a/test/regress/regress0/strings/loop009.smt2 b/test/regress/regress0/strings/loop009.smt2
new file mode 100644
index 000000000..41eab0f35
--- /dev/null
+++ b/test/regress/regress0/strings/loop009.smt2
@@ -0,0 +1,9 @@
+(set-logic QF_S)
+(set-info :status sat)
+
+(declare-fun x () String)
+
+(assert (= (str.++ x "aa") (str.++ "aa" x)))
+(assert (= (str.len x) 7))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback