diff options
author | 2009-02-23 10:46:20 +0000 | |
---|---|---|
committer | 2009-02-23 10:46:20 +0000 | |
commit | 999b303a775257ee076adffe6daa7d528bcd35bc (patch) | |
tree | fb033dc46102c01b98de526872b2f6f101943f4e /test-suite/success | |
parent | 3c5c74b9763debfcfc2b4683efd85184ae21875b (diff) |
Add support for dependent "destruct" over terms in dependent types.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11944 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/success')
-rw-r--r-- | test-suite/success/destruct.v | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/test-suite/success/destruct.v b/test-suite/success/destruct.v index 5aa78816b..59d583fee 100644 --- a/test-suite/success/destruct.v +++ b/test-suite/success/destruct.v @@ -1,6 +1,6 @@ (* Submitted by Robert Schneck *) -Parameter A B C D : Prop. +Parameters A B C D : Prop. Axiom X : A -> B -> C /\ D. Lemma foo : A -> B -> C. @@ -45,9 +45,9 @@ Require Import List. Definition alist R := list (nat * R)%type. Section Properties. - Variables A : Type. - Variables a : A. - Variables E : alist A. + Variable A : Type. + Variable a : A. + Variable E : alist A. Lemma silly : E = E. Proof. @@ -55,3 +55,9 @@ Section Properties. Abort. End Properties. + +(* This used not to work before revision 11944 *) + +Goal forall P:(forall n, 0=n -> Prop), forall H: 0=0, P 0 H. +destruct H. +Abort. |