aboutsummaryrefslogtreecommitdiff
path: root/tests/example2.v
diff options
context:
space:
mode:
Diffstat (limited to 'tests/example2.v')
-rw-r--r--tests/example2.v15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/example2.v b/tests/example2.v
index ca9e3dcff5..fd5a9044e9 100644
--- a/tests/example2.v
+++ b/tests/example2.v
@@ -26,3 +26,18 @@ intros H.
elim &H with 0.
split.
Qed.
+
+Goal forall (P : nat -> Prop), (forall n m, n = m -> P n) -> P 0.
+Proof.
+intros P H.
+Fail apply &H.
+apply &H with (m := 0).
+split.
+Qed.
+
+Goal forall (P : nat -> Prop), (forall n m, n = m -> P n) -> P 0.
+Proof.
+intros P H.
+eapply &H.
+split.
+Qed.