From 32c747754e958e5a93ae45af83fb28887a88eaf9 Mon Sep 17 00:00:00 2001 From: herbelin Date: Sun, 17 Oct 2004 08:46:19 +0000 Subject: *** empty log message *** git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6225 85f007b7-540e-0410-9357-904b9bb8a0f7 --- test-suite/failure/pattern.v | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-suite/failure/pattern.v diff --git a/test-suite/failure/pattern.v b/test-suite/failure/pattern.v new file mode 100644 index 000000000..9fee61fb7 --- /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 : (m:nat)m=n->Prop. + +Goal (p:n=n)(P n p). +Intro. +Pattern n p. (* Non typable generalization *) -- cgit v1.2.3