aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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