From 0abacc3a784226deb1fdd9e6a567ce0c62b79696 Mon Sep 17 00:00:00 2001 From: Tej Chajed Date: Sat, 19 May 2018 15:09:46 -0400 Subject: Add test cases from #7554 Failed in v8.7.2 but were fixed by v8.8.0. --- test-suite/bugs/closed/7554.v | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test-suite/bugs/closed/7554.v (limited to 'test-suite/bugs') 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. -- cgit v1.2.3