Add test case for (previously resolved) bug 528.
authorMorgan Deters <mdeters@cs.nyu.edu>
Tue, 3 Dec 2013 00:32:44 +0000 (19:32 -0500)
committerMorgan Deters <mdeters@cs.nyu.edu>
Tue, 3 Dec 2013 01:47:48 +0000 (20:47 -0500)
test/regress/regress0/Makefile.am
test/regress/regress0/bug528a.smt2 [new file with mode: 0644]

index 4748ca5f9dbca79f5f5d45b91ccb6abbe5769348..1e3e7c1124942ae065693d0d90600c0fb22c9511 100644 (file)
@@ -152,6 +152,7 @@ BUG_TESTS = \
        bug521.smt2 \
        bug521.minimized.smt2 \
        bug522.smt2 \
+       bug528a.smt2 \
        bug541.smt2
 
 TESTS =        $(SMT_TESTS) $(SMT2_TESTS) $(CVC_TESTS) $(TPTP_TESTS) $(BUG_TESTS)
diff --git a/test/regress/regress0/bug528a.smt2 b/test/regress/regress0/bug528a.smt2
new file mode 100644 (file)
index 0000000..fb48994
--- /dev/null
@@ -0,0 +1,8 @@
+; EXPECT: unsat
+; COMMAND-LINE: --incremental --repeat-simp
+(set-logic QF_LIA)
+(declare-fun i () Int)
+(assert (ite (= i 0) false true))
+(push 1)
+(assert (= i 0))
+(check-sat)