summaryrefslogtreecommitdiff
path: root/test-suite/failure/Case3.v
blob: 2c651b8777622df204c63233982a5f20b9e3700f (plain)
1
2
3
4
5
6
7
Inductive List [A:Set] :Set := 
 Nil:(List A) | Cons:A->(List A)->(List A).

Type [l:(List nat)]<nat>Cases l of 
                         (Nil nat) =>O
                      | (Cons  a l) => (S a)
                      end.