diff options
author | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
commit | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (patch) | |
tree | ad89c6bb57ceee608fcba2bb3435b74e0f57919e /test-suite/failure/Case14.v | |
parent | 018ee3b0c2be79eb81b1f65c3f3fa142d24129c8 (diff) |
Imported Upstream version 8.0pl3+8.1alphaupstream/8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/failure/Case14.v')
-rw-r--r-- | test-suite/failure/Case14.v | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/test-suite/failure/Case14.v b/test-suite/failure/Case14.v index a198d068..ba0c51a1 100644 --- a/test-suite/failure/Case14.v +++ b/test-suite/failure/Case14.v @@ -1,8 +1,9 @@ -Inductive List [A:Set] :Set := - Nil:(List A) | Cons:A->(List A)->(List A). +Inductive List (A : Set) : Set := + | Nil : List A + | Cons : A -> List A -> List A. -Definition NIL := (Nil nat). -Type <(List nat)>Cases (Nil nat) of - NIL => NIL - | _ => NIL - end. +Definition NIL := Nil nat. +Type match Nil nat return (List nat) with + | NIL => NIL + | _ => NIL + end. |