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/Case6.v | |
parent | 018ee3b0c2be79eb81b1f65c3f3fa142d24129c8 (diff) |
Imported Upstream version 8.0pl3+8.1alphaupstream/8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/failure/Case6.v')
-rw-r--r-- | test-suite/failure/Case6.v | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/test-suite/failure/Case6.v b/test-suite/failure/Case6.v index f588d275..fb8659bf 100644 --- a/test-suite/failure/Case6.v +++ b/test-suite/failure/Case6.v @@ -1,10 +1,8 @@ -Inductive List [A:Set] :Set := - Nil:(List A) | Cons:A->(List A)->(List A). - - -Type <(List nat)>Cases (Nil nat) of - NIL => NIL - | (CONS _ _) => NIL - - end. - +Inductive List (A : Set) : Set := + | Nil : List A + | Cons : A -> List A -> List A. + +Type (match Nil nat return List nat with + | NIL => NIL + | (CONS _ _) => NIL + end). |