aboutsummaryrefslogtreecommitdiff
path: root/test-suite/failure/pattern.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/failure/pattern.v')
-rw-r--r--test-suite/failure/pattern.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/test-suite/failure/pattern.v b/test-suite/failure/pattern.v
index 9fee61fb74..129c380ed9 100644
--- a/test-suite/failure/pattern.v
+++ b/test-suite/failure/pattern.v
@@ -1,9 +1,9 @@
(* Check that untypable beta-expansion are trapped *)
-Variable A:nat->Type.
-Variable n:nat.
-Variable P : (m:nat)m=n->Prop.
+Variable A : nat -> Type.
+Variable n : nat.
+Variable P : forall m : nat, m = n -> Prop.
-Goal (p:n=n)(P n p).
-Intro.
-Pattern n p. (* Non typable generalization *)
+Goal forall p : n = n, P n p.
+intro.
+pattern n, p in |- *.