aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/output/Errors.v
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-07-13 15:27:28 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-07-13 15:31:47 +0200
commit65ba1b36df33a74998240a02fecc1fb80c3eeeee (patch)
treee9af73d9793c275a5fcfe4d10905c60503aa8af4 /test-suite/output/Errors.v
parent55d32c9a017853c2411f894a3ad1a946c628ba9c (diff)
Fixing printing of evar name in an error message of instantiate.
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 352c87385..424d24801 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.