aboutsummaryrefslogtreecommitdiff
path: root/test-suite/bugs
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-10-12 15:05:05 +0200
committerGaëtan Gilbert2020-10-12 15:22:50 +0200
commit9324cc58c4f12de6f03fd88acc405c2e6c93dbdb (patch)
treec09b2c11c62c279170b89e0de08ed236fa6692e5 /test-suite/bugs
parenta78b394d372f259107017cdb129be3fe53a15894 (diff)
Guard unify_leq_delay calls in Typing
Fix #13171
Diffstat (limited to 'test-suite/bugs')
-rw-r--r--test-suite/bugs/closed/bug_13171.v10
1 files changed, 10 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/bug_13171.v b/test-suite/bugs/closed/bug_13171.v
new file mode 100644
index 0000000000..0564722729
--- /dev/null
+++ b/test-suite/bugs/closed/bug_13171.v
@@ -0,0 +1,10 @@
+Primitive array := #array_type.
+
+Goal False.
+Proof.
+ unshelve epose (_:nat). exact_no_check true.
+ Fail let c := open_constr:([| n | 0 |]) in
+ let c := eval cbv in c in
+ let c := type of c in
+ idtac c.
+Abort.