summaryrefslogtreecommitdiff
path: root/test/regress/regress1/nl/div-mod-partial.smt2
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/regress1/nl/div-mod-partial.smt2')
-rw-r--r--test/regress/regress1/nl/div-mod-partial.smt210
1 files changed, 10 insertions, 0 deletions
diff --git a/test/regress/regress1/nl/div-mod-partial.smt2 b/test/regress/regress1/nl/div-mod-partial.smt2
new file mode 100644
index 000000000..fa75ee594
--- /dev/null
+++ b/test/regress/regress1/nl/div-mod-partial.smt2
@@ -0,0 +1,10 @@
+; COMMAND-LINE: --nl-ext --nl-ext-tplanes
+; EXPECT: sat
+(set-logic QF_UFNIA)
+(set-info :status sat)
+(declare-fun x () Int)
+(declare-fun y () Int)
+(assert (not (= y 0)))
+; should be SAT if the partial functions for div and mod are different
+(assert (not (= (- y (* (div y x) x)) (mod y x))))
+(check-sat)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback