diff options
author | Andres Nötzli <andres.noetzli@gmail.com> | 2017-06-16 11:16:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-16 11:16:04 -0700 |
commit | 38df3307e0503d4b4c69c31e8688da1c03b80bde (patch) | |
tree | f16cead34a31927157f8230d8a3dbdbec08b5878 /test/regress/regress0/push-pop | |
parent | 0335ae596244853ba35f7ae8c09caacdcf01f320 (diff) |
Fix segfault by making unit conflict CDMaybe
This commit fixes bug 819 by making d_unitConflictId context dependent and adds a test case.
Diffstat (limited to 'test/regress/regress0/push-pop')
-rw-r--r-- | test/regress/regress0/push-pop/Makefile.am | 3 | ||||
-rw-r--r-- | test/regress/regress0/push-pop/simple_unsat_cores.smt2 | 10 |
2 files changed, 12 insertions, 1 deletions
diff --git a/test/regress/regress0/push-pop/Makefile.am b/test/regress/regress0/push-pop/Makefile.am index 262132779..197f81d63 100644 --- a/test/regress/regress0/push-pop/Makefile.am +++ b/test/regress/regress0/push-pop/Makefile.am @@ -48,7 +48,8 @@ BUG_TESTS = \ inc-define.smt2 \ bug765.smt2 \ bug691.smt2 \ - bug694-Unapply1.scala-0.smt2 + bug694-Unapply1.scala-0.smt2 \ + simple_unsat_cores.smt2 TESTS = $(SMT_TESTS) $(SMT2_TESTS) $(CVC_TESTS) $(BUG_TESTS) diff --git a/test/regress/regress0/push-pop/simple_unsat_cores.smt2 b/test/regress/regress0/push-pop/simple_unsat_cores.smt2 new file mode 100644 index 000000000..e85a546d8 --- /dev/null +++ b/test/regress/regress0/push-pop/simple_unsat_cores.smt2 @@ -0,0 +1,10 @@ +; COMMAND-LINE: --incremental +; EXPECT: unsat +; EXPECT: unsat +(set-logic UF) +(push 1) +(assert false) +(check-sat) +(pop 1) +(assert false) +(check-sat) |