diff options
| author | Théo Zimmermann | 2018-05-20 15:59:53 +0200 |
|---|---|---|
| committer | Théo Zimmermann | 2018-05-20 15:59:53 +0200 |
| commit | d6eb4a26648817f6b034e95c02622cadf0fa65ca (patch) | |
| tree | 5db57a2f05c7006c14a9a4e8013c49d253843a52 | |
| parent | 6ff355338986e87f37ad25bf9943ca42135357d6 (diff) | |
| parent | 0abacc3a784226deb1fdd9e6a567ce0c62b79696 (diff) | |
Merge PR #7557: Add test cases from #7554
| -rw-r--r-- | test-suite/bugs/closed/7554.v | 12 |
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 0000000000..12b0aa2cb5 --- /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. |
