summaryrefslogtreecommitdiff
path: root/test-suite/output/Errors.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/output/Errors.v')
-rw-r--r--test-suite/output/Errors.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/output/Errors.v b/test-suite/output/Errors.v
index 352c8738..424d2480 100644
--- a/test-suite/output/Errors.v
+++ b/test-suite/output/Errors.v
@@ -16,3 +16,12 @@ Goal True.
Fail simpl; apply 0.
Fail simpl; f 0.
Abort.
+
+(* Test instantiate error messages *)
+
+Goal forall T1 (P1 : T1 -> Type), sigT P1 -> sigT P1.
+intros T1 P1 H1.
+eexists ?[x].
+destruct H1 as [x1 H1].
+Fail instantiate (x:=projT1 x1).
+Abort.