summaryrefslogtreecommitdiff
path: root/test/regress/regress1/arith/div.09.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/arith/div.09.smt2')
-rw-r--r--test/regress/regress1/arith/div.09.smt214
1 files changed, 14 insertions, 0 deletions
diff --git a/test/regress/regress1/arith/div.09.smt2 b/test/regress/regress1/arith/div.09.smt2
new file mode 100644
index 000000000..1c4bbde2b
--- /dev/null
+++ b/test/regress/regress1/arith/div.09.smt2
@@ -0,0 +1,14 @@
+; SCRUBBER: sed -e 's/The fact in question: .*$/The fact in question: TERM/'
+; EXPECT: (error "A non-linear fact was asserted to arithmetic in a linear logic.
+; EXPECT: The fact in question: TERM
+; EXPECT: ")
+; EXIT: 1
+(set-logic QF_LRA)
+(set-info :status unknown)
+(declare-fun n () Real)
+
+; This example is test that LRA rejects multiplication terms
+
+(assert (= (/ n n) 1))
+
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback