aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-05-20 15:59:53 +0200
committerGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-05-20 15:59:53 +0200
commitd6eb4a26648817f6b034e95c02622cadf0fa65ca (patch)
tree5db57a2f05c7006c14a9a4e8013c49d253843a52
parent6ff355338986e87f37ad25bf9943ca42135357d6 (diff)
parent0abacc3a784226deb1fdd9e6a567ce0c62b79696 (diff)
Merge PR #7557: Add test cases from #7554
-rw-r--r--test-suite/bugs/closed/7554.v12
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/7554.v b/test-suite/bugs/closed/7554.v
new file mode 100644
index 000000000..12b0aa2cb
--- /dev/null
+++ b/test-suite/bugs/closed/7554.v
@@ -0,0 +1,12 @@
+Require Import Coq.Program.Tactics.
+
+(* these should not result in anomalies *)
+
+Fail Program Lemma foo:
+ forall P, forall H, forall (n:nat), P n.
+
+Fail Program Lemma foo:
+ forall a (P : list a -> Prop), forall H, forall (n:list a), P n.
+
+Fail Program Lemma foo:
+ forall (a : Type) (P : list a -> Prop), forall H, forall (n:list a), P n.