aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-10-17 08:46:19 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2004-10-17 08:46:19 +0000
commit32c747754e958e5a93ae45af83fb28887a88eaf9 (patch)
tree18d99295574b5d1f1967f96083f3c1fbe90efecd /test-suite
parent15504de510b7e7c9bf207575ad97a93733169e43 (diff)
*** empty log message ***
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6225 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/failure/pattern.v9
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 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 *)