summaryrefslogtreecommitdiff
path: root/test-suite/bugs/closed/4191.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/bugs/closed/4191.v')
-rw-r--r--test-suite/bugs/closed/4191.v5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/4191.v b/test-suite/bugs/closed/4191.v
new file mode 100644
index 00000000..290bb384
--- /dev/null
+++ b/test-suite/bugs/closed/4191.v
@@ -0,0 +1,5 @@
+(* Test maximal implicit arguments in the presence of let-ins *)
+Definition foo (x := 1) {y : nat} (H : y = y) : True := I.
+Definition bar {y : nat} (x := 1) (H : y = y) : True := I.
+Check bar (eq_refl 1).
+Check foo (eq_refl 1).