aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorGravatar Tej Chajed <tchajed@mit.edu>2018-05-19 15:09:46 -0400
committerGravatar Tej Chajed <tchajed@mit.edu>2018-05-20 07:34:59 -0400
commit0abacc3a784226deb1fdd9e6a567ce0c62b79696 (patch)
tree8817ae2221b2d8a84fb0de27bd952ad04cc691ae /test-suite/bugs
parenta0da3a68d12141ba226ce94027b90a01389099d0 (diff)
Add test cases from #7554
Failed in v8.7.2 but were fixed by v8.8.0.
Diffstat (limited to 'test-suite/bugs')
-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.