aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2018-04-26 14:45:45 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2018-04-26 14:53:00 +0200
commit10a6452c6bbf618428591d9c40aed945f7fe92b3 (patch)
tree8b573d316c61ed052f4084f20689740409783f62 /test-suite
parent83c3ee8659f1cee68909570fbf581a0e03233af7 (diff)
Pretyping: Fixing a de Bruijn bug in interpreting default instances of evars.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/success/evars.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/success/evars.v b/test-suite/success/evars.v
index 5b13f35d5..253b48e4d 100644
--- a/test-suite/success/evars.v
+++ b/test-suite/success/evars.v
@@ -421,3 +421,8 @@ Goal exists n : nat, n = n -> True.
eexists.
set (H := _ = _).
Abort.
+
+(* Check interpretation of default evar instance in pretyping *)
+(* (reported as bug #7356) *)
+
+Check fun (P : nat -> Prop) (x:nat) (h:P x) => exist _ ?[z] (h : P ?z).