summaryrefslogtreecommitdiff
path: root/test-suite/success/instantiate.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/instantiate.v')
-rw-r--r--test-suite/success/instantiate.v11
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/success/instantiate.v b/test-suite/success/instantiate.v
new file mode 100644
index 00000000..4224405d
--- /dev/null
+++ b/test-suite/success/instantiate.v
@@ -0,0 +1,11 @@
+(* Test régression bug #1041 *)
+
+Goal Prop.
+
+pose (P:= fun x y :Prop => y).
+evar (Q: forall X Y,P X Y -> Prop) .
+
+instantiate (1:= fun _ => _ ) in (Value of Q).
+instantiate (1:= fun _ => _ ) in (Value of Q).
+instantiate (1:= fun _ => _ ) in (Value of Q).
+instantiate (1:= H) in (Value of Q).