summaryrefslogtreecommitdiff
path: root/test/regress/regress0/smt2output.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress0/smt2output.smt2')
-rw-r--r--test/regress/regress0/smt2output.smt215
1 files changed, 15 insertions, 0 deletions
diff --git a/test/regress/regress0/smt2output.smt2 b/test/regress/regress0/smt2output.smt2
new file mode 100644
index 000000000..26050d931
--- /dev/null
+++ b/test/regress/regress0/smt2output.smt2
@@ -0,0 +1,15 @@
+; This test checks the correct output behavior of SMT-LIBv2 symbols
+; (sometimes they have to be |quoted| with pipes).
+;
+; COMMAND-LINE: -qm
+; EXIT: 10
+(declare-fun |toto| () Bool)
+(declare-fun |to to| () Bool)
+(assert (and toto |to to|))
+(check-sat)
+; EXPECT: sat
+(get-model)
+; EXPECT: (model
+; EXPECT: (define-fun toto () Bool true)
+; EXPECT: (define-fun |to to| () Bool true)
+; EXPECT: )
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback