aboutsummaryrefslogtreecommitdiff
path: root/test-suite/failure/pattern.v
blob: 480f57950260479dd59d9597807fe6459e74893b (plain)
1
2
3
4
5
6
7
8
9
10
(* Check that untypable beta-expansion are trapped *)

Variable A : nat -> Type.
Variable n : nat.
Variable P : forall m : nat, m = n -> Prop.

Goal forall p : n = n, P n p.
intro.
Fail pattern n, p.
Abort.