test-suite/bugs/bug_9240.v
raw| 1 | Register tt as core.IDProp.idProp. |
| 2 | |
| 3 | |
| 4 | Inductive vec (A : Type) : nat -> Type := |
| 5 | | nil : vec A 0 |
| 6 | | cons : forall n : nat, A -> vec A n -> vec A (S n). |
| 7 | |
| 8 | Definition hd (A : Type) (n : nat) (v : vec A (S n)) : A := |
| 9 | match v in (vec _ (S n)) return A with |
| 10 | | cons _ _ h _ => h |
| 11 | end. (* assertion failure in evarconv *) |