aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2001-01-21 22:44:09 +0000
committerherbelin2001-01-21 22:44:09 +0000
commit3c815367e39d626243836f29e5b89f0f389876bb (patch)
treeb2d051306edcaa3e6af36e14b26dbc0385320f2d
parent35d6012afbe76653c3835ce0ba26106a7be84efd (diff)
Tests pour
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1264 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--test-suite/success/Apply.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/success/Apply.v b/test-suite/success/Apply.v
new file mode 100644
index 0000000000..a6aec84799
--- /dev/null
+++ b/test-suite/success/Apply.v
@@ -0,0 +1,9 @@
+
+(* This needs unification on type *)
+
+Goal (n,m:nat)(eq nat (S m) (S n)).
+Intros.
+Apply f_equal.
+
+(* f_equal : (A,B:Set; f:(A->B); x,y:A)x=y->(f x)=(f y) *)
+(* and A cannot be deduced from the goal but only from the type of f, x or y *) \ No newline at end of file