diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/regress/regress0/arith/Makefile.am | 1 | ||||
-rw-r--r-- | test/regress/regress0/arith/div.09.smt2 | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/regress/regress0/arith/Makefile.am b/test/regress/regress0/arith/Makefile.am index 12aa0eecd..38e7e6f4e 100644 --- a/test/regress/regress0/arith/Makefile.am +++ b/test/regress/regress0/arith/Makefile.am @@ -36,6 +36,7 @@ TESTS = \ div.06.smt2 \ div.07.smt2 \ div.08.smt2 \ + div.09.smt2 \ mult.01.smt2 \ mult.02.smt2 \ bug443.delta01.smt diff --git a/test/regress/regress0/arith/div.09.smt2 b/test/regress/regress0/arith/div.09.smt2 new file mode 100644 index 000000000..2f1bca63a --- /dev/null +++ b/test/regress/regress0/arith/div.09.smt2 @@ -0,0 +1,11 @@ +; EXPECT: (error "Non-linear term was asserted to arithmetic in a linear logic.") +; 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) |