diff options
Diffstat (limited to 'test-suite/failure/pattern.v')
-rw-r--r-- | test-suite/failure/pattern.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/failure/pattern.v b/test-suite/failure/pattern.v new file mode 100644 index 00000000..129c380e --- /dev/null +++ b/test-suite/failure/pattern.v @@ -0,0 +1,9 @@ +(* 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. +pattern n, p in |- *. |