Debian Codegraph @

test-suite/failure/pattern.v

raw
1 (* Check that untypable beta-expansion are trapped *)
2
3 Parameter A : nat -> Type.
4 Parameter n : nat.
5 Parameter P : forall m : nat, m = n -> Prop.
6
7 Goal forall p : n = n, P n p.
8 intro.
9 Fail pattern n, p.
10 Abort.