aboutsummaryrefslogtreecommitdiffstats
path: root/unit-tests/Tests_verit_tactics.v
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/Tests_verit_tactics.v')
-rw-r--r--unit-tests/Tests_verit_tactics.v19
1 files changed, 19 insertions, 0 deletions
diff --git a/unit-tests/Tests_verit_tactics.v b/unit-tests/Tests_verit_tactics.v
index 4285f96..5164308 100644
--- a/unit-tests/Tests_verit_tactics.v
+++ b/unit-tests/Tests_verit_tactics.v
@@ -1562,3 +1562,22 @@ Section TimeoutProp.
verit_no_check_timeout 10.
Qed.
End TimeoutProp.
+
+
+(* Test CompDec open goals *)
+
+Section OpenCompdec.
+
+ Variable A : Type.
+ Variable l : list A.
+ Variable x : A.
+ Variable H1 : hd_error l = Some x.
+ Variable H2 : hd_error (@nil A) = None.
+ Variable H3 : forall x : A, Some x = None -> False.
+ Variable Hpb : forall x x0 : A, Some x = Some x0 -> x = x0.
+
+ Goal l <> nil.
+ Proof. verit. Abort.
+ (* Should leave open CompDec goals but not fail *)
+
+End OpenCompdec.